/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModel.php(571)
559 } 560 561 foreach($unsafe as $name) 562 unset($attributes[$name]); 563 return array_keys($attributes); 564 } 565 566 /** 567 * Returns an iterator for traversing the attributes in the model. 568 * This method is required by the interface IteratorAggregate. 569 * @return CMapIterator an iterator for traversing the items in the list. 570 */ 571 public function getIterator() 572 { 573 $attributes=$this->getAttributes(); 574 return new CMapIterator($attributes); 575 } 576 577 /** 578 * Returns whether there is an element at the specified offset. 579 * This method is required by the interface ArrayAccess. 580 * @param mixed $offset the offset to check on 581 * @return boolean 582 */ 583 public function offsetExists($offset)
#0 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(403): include("/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/b...") 398 { 399 // use include so that the error PHP file may appear 400 if(isset(self::$classMap[$className])) 401 include(self::$classMap[$className]); 402 elseif(isset(self::$_coreClasses[$className])) 403 include(YII_PATH.self::$_coreClasses[$className]); 404 else 405 { 406 // include class file relying on include_path 407 if(strpos($className,'\\')===false) // class without namespace 408 { |
#1 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/db/ar/CActiveRecord.php(40): YiiBase::autoload("CModel") 35 * 36 * @author Qiang Xue <qiang.xue@gmail.com> 37 * @package system.db.ar 38 * @since 1.0 39 */ 40 abstract class CActiveRecord extends CModel 41 { 42 const BELONGS_TO='CBelongsToRelation'; 43 const HAS_ONE='CHasOneRelation'; 44 const HAS_MANY='CHasManyRelation'; 45 const MANY_MANY='CManyManyRelation'; |
#2 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(403): include("/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/d...") 398 { 399 // use include so that the error PHP file may appear 400 if(isset(self::$classMap[$className])) 401 include(self::$classMap[$className]); 402 elseif(isset(self::$_coreClasses[$className])) 403 include(YII_PATH.self::$_coreClasses[$className]); 404 else 405 { 406 // include class file relying on include_path 407 if(strpos($className,'\\')===false) // class without namespace 408 { |
#3 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PEModel.php(9): YiiBase::autoload("CActiveRecord") 04 * 05 * @author Rakovich Vladimir <rak.kture@gmail.com> 06 * @package application.components.PortalEngine 07 * @version 0.1 08 */ 09 class PEModel extends CActiveRecord 10 { 11 12 const STATUS_ADDED = 1; 13 const STATUS_PUBLISHED = 2; 14 const STATUS_HIDDEN = 3; |
#4 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(427): include("/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/c...") 422 break; 423 } 424 } 425 } 426 else 427 include($className.'.php'); 428 } 429 else // class name with namespace in PHP 5.3 430 { 431 $namespace=str_replace('\\','.',ltrim($className,'\\')); 432 if(($path=self::getPathOfAlias($namespace))!==false) |
#5 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/modules/core/models/ModuleList.php(22): YiiBase::autoload("PEModel") 17 * @property string $module_version_installed 18 * @property integer $module_installed 19 * @property string $module_config 20 * @property string $update_datetime 21 */ 22 class ModuleList extends PEModel 23 { 24 25 const INSTALLED_TRUE = 1; 26 const INSTALLED_FALSE = 0; 27 |
#6 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(427): include("/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/m...") 422 break; 423 } 424 } 425 } 426 else 427 include($className.'.php'); 428 } 429 else // class name with namespace in PHP 5.3 430 { 431 $namespace=str_replace('\\','.',ltrim($className,'\\')); 432 if(($path=self::getPathOfAlias($namespace))!==false) |
#7 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PECore.php(47): YiiBase::autoload("ModuleList") 42 */ 43 protected function loadModules() 44 { 45 $coreModules = array(); 46 $installedModules = array(); 47 $modulesFromDb = ModuleList::model()->findAll(); 48 foreach ($modulesFromDb as $module) { 49 if ($module->module_installed == 1) { 50 $installedModules[] = $module->module_id; 51 } 52 } |
#8 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PECore.php(25): PECore->loadModules() 20 parent::init(); 21 22 Yii::import('application.modules.core.models.*'); 23 Yii::import('application.modules.user.models.*'); 24 25 Yii::app()->setModules($this->loadModules()); 26 27 $this->loadModuleRoutes(); 28 $this->loadConfigFromDb(); 29 30 |
#9 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/components/PortalEngine/PEWebCore.php(22): PECore->init() 17 /** 18 * Инициализируем компонент 19 */ 20 public function init() 21 { 22 parent::init(); 23 24 25 if(Yii::app()->homeUrl == '/') { 26 $currentUri = ltrim(Yii::app()->request->requestUri, '/'); 27 } else { |
#10 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModule.php(387): PEWebCore->init() 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } 392 |
#11 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CModule.php(523): CModule->getComponent("PortalEngineCore") 518 * Loads static application components. 519 */ 520 protected function preloadComponents() 521 { 522 foreach($this->preload as $id) 523 $this->getComponent($id); 524 } 525 526 /** 527 * Preinitializes the module. 528 * This method is called at the beginning of the module constructor. |
#12 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/base/CApplication.php(163): CModule->preloadComponents() 158 $this->initSystemHandlers(); 159 $this->registerCoreComponents(); 160 161 $this->configure($config); 162 $this->attachBehaviors($this->behaviors); 163 $this->preloadComponents(); 164 165 $this->init(); 166 } 167 168 |
#13 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(125): CApplication->__construct(array("name" => "Portal Engine", "theme" => "portal-engine", "language" => "ru", "sourceLanguage" => "ru", ...)) 120 * to the constructor of the application class. 121 * @return mixed the application instance 122 */ 123 public static function createApplication($class,$config=null) 124 { 125 return new $class($config); 126 } 127 128 /** 129 * Returns the application singleton or null if the singleton has not been created yet. 130 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#14 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/framework/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/c...") 093 * If not, the directory will be defaulted to 'protected'. 094 * @return CWebApplication 095 */ 096 public static function createWebApplication($config=null) 097 { 098 return self::createApplication('CWebApplication',$config); 099 } 100 101 /** 102 * Creates a console application instance. 103 * @param mixed $config application configuration. |
#15 |
+
–
/home/old/web/titsads.loveitgroup.com.ua/public_html/index.php(17): YiiBase::createWebApplication("/home/old/web/titsads.loveitgroup.com.ua/public_html/protected/c...") 12 defined('YII_DEBUG') or define('YII_DEBUG', true); 13 // specify how many levels of call stack should be shown in each log message 14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 15 //phpinfo(); 16 require_once($yii); 17 Yii::createWebApplication($config)->run(); |