Warning (2): file_put_contents(): Only 0 of 3224 bytes written, possibly out of free disk space [CORE/Cake/Log/Engine/FileLog.php, line 142]Code Context$pathname = $this->_path . $filename;if (empty($this->_config['mask'])) {return file_put_contents($pathname, $output, FILE_APPEND);$type = 'error' $message = '[PDOException] SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") Request URL: /rem-cua/rem-cua-phong-tre-em-017.html Stack Trace: #0 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(461): PDOStatement->execute(Array) #1 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/Database/Mysql.php(340): DboSource->_execute('SHOW FULL COLUM...') #2 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(1390): Mysql->describe(Object(ProductCategory)) #3 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(1431): Model->schema() #4 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(2806): Model->getColumnType('del_flg') #5 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(2757): DboSource->_parseKey('del_flg', 0, Object(ProductCategory)) #6 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(2637): DboSource->conditionKeysToString(Array, true, Object(ProductCategory)) #7 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(1936): DboSource->conditions(Array, true, true, Object(ProductCategory)) #8 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(1667): DboSource->buildStatement(Array, Object(ProductCategory)) #9 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(1111): DboSource->buildAssociationQuery(Object(ProductCategory), Array) #10 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(3031): DboSource->read(Object(ProductCategory), Array) #11 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(3003): Model->_readDataSource('threaded', Array) #12 /home/goldhous/domains/mancuaxinh.vn/public_html/app/Controller/Component/GenMenuComponent.php(41): Model->find('threaded', Array) #13 /home/goldhous/domains/mancuaxinh.vn/public_html/app/Controller/Component/GenMenuComponent.php(18): GenMenuComponent->genMenu() #14 [internal function]: GenMenuComponent->initialize(Object(ProductsController)) #15 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Utility/ObjectCollection.php(128): call_user_func_array(Array, Array) #16 [internal function]: ObjectCollection->trigger(Object(CakeEvent)) #17 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Event/CakeEventManager.php(243): call_user_func(Array, Object(CakeEvent)) #18 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Controller/Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent)) #19 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess() #20 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(ProductsController), Object(CakeRequest)) #21 /home/goldhous/domains/mancuaxinh.vn/public_html/app/webroot/index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #22 {main}' $output = '2025-10-25 16:31:26 Error: [PDOException] SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") Request URL: /rem-cua/rem-cua-phong-tre-em-017.html Stack Trace: #0 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(461): PDOStatement->execute(Array) #1 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/Database/Mysql.php(340): DboSource->_execute('SHOW FULL COLUM...') #2 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(1390): Mysql->describe(Object(ProductCategory)) #3 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(1431): Model->schema() #4 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(2806): Model->getColumnType('del_flg') #5 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(2757): DboSource->_parseKey('del_flg', 0, Object(ProductCategory)) #6 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(2637): DboSource->conditionKeysToString(Array, true, Object(ProductCategory)) #7 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(1936): DboSource->conditions(Array, true, true, Object(ProductCategory)) #8 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(1667): DboSource->buildStatement(Array, Object(ProductCategory)) #9 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php(1111): DboSource->buildAssociationQuery(Object(ProductCategory), Array) #10 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(3031): DboSource->read(Object(ProductCategory), Array) #11 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Model.php(3003): Model->_readDataSource('threaded', Array) #12 /home/goldhous/domains/mancuaxinh.vn/public_html/app/Controller/Component/GenMenuComponent.php(41): Model->find('threaded', Array) #13 /home/goldhous/domains/mancuaxinh.vn/public_html/app/Controller/Component/GenMenuComponent.php(18): GenMenuComponent->genMenu() #14 [internal function]: GenMenuComponent->initialize(Object(ProductsController)) #15 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Utility/ObjectCollection.php(128): call_user_func_array(Array, Array) #16 [internal function]: ObjectCollection->trigger(Object(CakeEvent)) #17 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Event/CakeEventManager.php(243): call_user_func(Array, Object(CakeEvent)) #18 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Controller/Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent)) #19 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess() #20 /home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(ProductsController), Object(CakeRequest)) #21 /home/goldhous/domains/mancuaxinh.vn/public_html/app/webroot/index.php(111): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #22 {main} ' $filename = 'error.log' $pathname = '/home/goldhous/domains/mancuaxinh.vn/public_html/app/tmp/logs/error.log'file_put_contents - [internal], line ?? FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142 CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445 ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118 [main] - [internal], line ??
Notice (8): Undefined variable: seoHead [APP/View/Layouts/default.ctp, line 8]Code Context<meta http-equiv="content-language" content="vi" /><?= $this->Html->meta( 'favicon.ico', '/img/favicon.ico', array ('type' => 'icon')); ?><title><?= $seoHead['title_meta']?></title>$viewFile = '/home/goldhous/domains/mancuaxinh.vn/public_html/app/View/Layouts/default.ctp' $dataForView = array( 'tabId' => null, 'code' => (int) 500, 'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")', 'message' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")', 'url' => '/rem-cua/rem-cua-phong-tre-em-017.html', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 461 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'name', (int) 2 => 'message', (int) 3 => 'url', (int) 4 => 'error' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p> <p class="notice"> <strong>SQL Query: </strong> SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg' (int) 0 object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array( 'del_flg' => (int) 0 ) true object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array( 'del_flg' => (int) 0 ) true true object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array( 'fields' => array( (int) 0 => '`ProductCategory`.`id`', (int) 1 => '`ProductCategory`.`parent_id`', (int) 2 => '`ProductCategory`.`name`', (int) 3 => '`ProductCategory`.`flug_text`', (int) 4 => '`ProductCategory`.`title_meta`' ), 'table' => '`goldhous_data`.`product_categories`', 'alias' => 'ProductCategory', 'limit' => null, 'offset' => null, 'joins' => array(), 'conditions' => array( 'del_flg' => (int) 0 ), 'order' => array( (int) 0 => 'seq ASC' ), 'group' => null ) object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'del_flg' => (int) 0 ), 'fields' => array( (int) 0 => '`ProductCategory`.`id`', (int) 1 => '`ProductCategory`.`parent_id`', (int) 2 => '`ProductCategory`.`name`', (int) 3 => '`ProductCategory`.`flug_text`', (int) 4 => '`ProductCategory`.`title_meta`' ), 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'seq ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'parent' => 'parent_id' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'del_flg' => (int) 0 ), 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'seq ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'parent' => 'parent_id' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded' array( 'conditions' => array( 'del_flg' => (int) 0 ), 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'seq ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'parent' => 'parent_id' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded' array( 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'conditions' => array( 'del_flg' => (int) 0 ), 'order' => array( (int) 0 => 'seq ASC' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => 'Article' ) tabId => null helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Text', (int) 4 => 'Time', (int) 5 => 'Js', (int) 6 => 'Paginator' ) components => array( (int) 0 => 'Session', (int) 1 => 'Cookie', (int) 2 => 'RequestHandler', 'Security' => array( 'csrfUseOnce' => false, 'csrfExpires' => '+1 hour' ), (int) 3 => 'Paginator', (int) 4 => 'GenMenu' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array() view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'search', (int) 2 => 'formatData', (int) 3 => 'discountSale' ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array([maximum depth reached]) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Security => object(SecurityComponent) { blackHoleCallback => null requirePost => array([maximum depth reached]) requireGet => array([maximum depth reached]) requirePut => array([maximum depth reached]) requireDelete => array([maximum depth reached]) requireSecure => array([maximum depth reached]) requireAuth => array([maximum depth reached]) allowedControllers => array([maximum depth reached]) allowedActions => array([maximum depth reached]) disabledFields => array([maximum depth reached]) unlockedFields => array([maximum depth reached]) unlockedActions => array([maximum depth reached]) validatePost => true csrfCheck => true csrfExpires => '+1 hour' csrfUseOnce => false csrfLimit => (int) 100 components => array( [maximum depth reached] ) request => null settings => array( [maximum depth reached] ) [protected] _action => null [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } GenMenu => object(GenMenuComponent) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) settings => array([maximum depth reached]) controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(GenMenuComponent) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => '' ) components => array( (int) 0 => 'RequestHandler' ) settings => array() controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( 'RequestHandler' => array( [maximum depth reached] ) ) }, (int) 1 => 'initialize' ) array( 'subject' => object(ProductsController) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => 'Article' ) tabId => null helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Text', (int) 4 => 'Time', (int) 5 => 'Js', (int) 6 => 'Paginator' ) components => array( (int) 0 => 'Session', (int) 1 => 'Cookie', (int) 2 => 'RequestHandler', 'Security' => array( [maximum depth reached] ), (int) 3 => 'Paginator', (int) 4 => 'GenMenu' ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array() view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'search', (int) 2 => 'formatData', (int) 3 => 'discountSale' ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } )</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) { uses => array( [maximum depth reached] ) tabId => null helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( 'Session' => array( [maximum depth reached] ), 'Cookie' => array( [maximum depth reached] ), 'RequestHandler' => array( [maximum depth reached] ), 'Security' => array( [maximum depth reached] ), 'Paginator' => array( [maximum depth reached] ), 'GenMenu' => array( [maximum depth reached] ) ) [protected] _loaded => array( 'Session' => object(SessionComponent) {}, 'Cookie' => object(CookieComponent) {}, 'RequestHandler' => object(RequestHandlerComponent) {}, 'Security' => object(SecurityComponent) {}, 'Paginator' => object(PaginatorComponent) {}, 'GenMenu' => object(GenMenuComponent) {} ) }, (int) 1 => 'trigger' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) { uses => array( [maximum depth reached] ) tabId => null helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) { uses => array( [maximum depth reached] ) tabId => null helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => 'Article' ) tabId => null helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Text', (int) 4 => 'Time', (int) 5 => 'Js', (int) 6 => 'Paginator' ) components => array( (int) 0 => 'Session', (int) 1 => 'Cookie', (int) 2 => 'RequestHandler', 'Security' => array( 'csrfUseOnce' => false, 'csrfExpires' => '+1 hour' ), (int) 3 => 'Paginator', (int) 4 => 'GenMenu' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array() view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'search', (int) 2 => 'formatData', (int) 3 => 'discountSale' ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array([maximum depth reached]) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Security => object(SecurityComponent) { blackHoleCallback => null requirePost => array([maximum depth reached]) requireGet => array([maximum depth reached]) requirePut => array([maximum depth reached]) requireDelete => array([maximum depth reached]) requireSecure => array([maximum depth reached]) requireAuth => array([maximum depth reached]) allowedControllers => array([maximum depth reached]) allowedActions => array([maximum depth reached]) disabledFields => array([maximum depth reached]) unlockedFields => array([maximum depth reached]) unlockedActions => array([maximum depth reached]) validatePost => true csrfCheck => true csrfExpires => '+1 hour' csrfUseOnce => false csrfLimit => (int) 100 components => array( [maximum depth reached] ) request => null settings => array( [maximum depth reached] ) [protected] _action => null [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } GenMenu => object(GenMenuComponent) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) settings => array([maximum depth reached]) controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'index', 'named' => array(), 'pass' => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ), 'root' => 'rem-cua', 'slug' => 'rem-cua-phong-tre-em-017', 'isAjax' => false, 'models' => array( 'ProductCategory' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'index', 'named' => array(), 'pass' => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ), 'root' => 'rem-cua', 'slug' => 'rem-cua-phong-tre-em-017', 'isAjax' => false, 'models' => array( 'ProductCategory' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $tabId = null $code = (int) 500 $name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' $message = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' $url = '/rem-cua/rem-cua-phong-tre-em-017.html' $error = object(PDOException) { errorInfo => array( (int) 0 => 'HY000', (int) 1 => (int) 1021, (int) 2 => 'Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' ) queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`' [protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' [protected] code => 'HY000' [protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 461 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'name', (int) 2 => 'message', (int) 3 => 'url', (int) 4 => 'error' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p> <p class="notice"> <strong>SQL Query: </strong> SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p> <p class="notice"> <strong>Notice: </strong> If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p> <h3>Stack Trace</h3> <ul class="cake-stack-trace"> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg' (int) 0 object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array( 'del_flg' => (int) 0 ) true object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array( 'del_flg' => (int) 0 ) true true object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array( 'fields' => array( (int) 0 => '`ProductCategory`.`id`', (int) 1 => '`ProductCategory`.`parent_id`', (int) 2 => '`ProductCategory`.`name`', (int) 3 => '`ProductCategory`.`flug_text`', (int) 4 => '`ProductCategory`.`title_meta`' ), 'table' => '`goldhous_data`.`product_categories`', 'alias' => 'ProductCategory', 'limit' => null, 'offset' => null, 'joins' => array(), 'conditions' => array( 'del_flg' => (int) 0 ), 'order' => array( (int) 0 => 'seq ASC' ), 'group' => null ) object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'del_flg' => (int) 0 ), 'fields' => array( (int) 0 => '`ProductCategory`.`id`', (int) 1 => '`ProductCategory`.`parent_id`', (int) 2 => '`ProductCategory`.`name`', (int) 3 => '`ProductCategory`.`flug_text`', (int) 4 => '`ProductCategory`.`title_meta`' ), 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'seq ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'parent' => 'parent_id' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) { name => 'ProductCategory' useTable => 'product_categories' actsAs => array( 'Tree' => array( 'parent' => 'parent_id' ) ) validate => array( 'name' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'flug_text' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'title_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'description_meta' => array( 'notEmpty' => array( [maximum depth reached] ) ), 'key_word' => array( 'notEmpty' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' id => false data => array() schemaName => 'goldhous_data' table => 'product_categories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'ProductCategory' tableToModel => array( 'product_categories' => 'ProductCategory' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'ProductCategory' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'threaded' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'del_flg' => (int) 0 ), 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'seq ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'parent' => 'parent_id' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded' array( 'conditions' => array( 'del_flg' => (int) 0 ), 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'seq ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'parent' => 'parent_id' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded' array( 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'conditions' => array( 'del_flg' => (int) 0 ), 'order' => array( (int) 0 => 'seq ASC' ) )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => 'Article' ) tabId => null helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Text', (int) 4 => 'Time', (int) 5 => 'Js', (int) 6 => 'Paginator' ) components => array( (int) 0 => 'Session', (int) 1 => 'Cookie', (int) 2 => 'RequestHandler', 'Security' => array( 'csrfUseOnce' => false, 'csrfExpires' => '+1 hour' ), (int) 3 => 'Paginator', (int) 4 => 'GenMenu' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array() view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'search', (int) 2 => 'formatData', (int) 3 => 'discountSale' ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array([maximum depth reached]) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Security => object(SecurityComponent) { blackHoleCallback => null requirePost => array([maximum depth reached]) requireGet => array([maximum depth reached]) requirePut => array([maximum depth reached]) requireDelete => array([maximum depth reached]) requireSecure => array([maximum depth reached]) requireAuth => array([maximum depth reached]) allowedControllers => array([maximum depth reached]) allowedActions => array([maximum depth reached]) disabledFields => array([maximum depth reached]) unlockedFields => array([maximum depth reached]) unlockedActions => array([maximum depth reached]) validatePost => true csrfCheck => true csrfExpires => '+1 hour' csrfUseOnce => false csrfLimit => (int) 100 components => array( [maximum depth reached] ) request => null settings => array( [maximum depth reached] ) [protected] _action => null [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } GenMenu => object(GenMenuComponent) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) settings => array([maximum depth reached]) controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(GenMenuComponent) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => '' ) components => array( (int) 0 => 'RequestHandler' ) settings => array() controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( 'RequestHandler' => array( [maximum depth reached] ) ) }, (int) 1 => 'initialize' ) array( 'subject' => object(ProductsController) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => 'Article' ) tabId => null helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Text', (int) 4 => 'Time', (int) 5 => 'Js', (int) 6 => 'Paginator' ) components => array( (int) 0 => 'Session', (int) 1 => 'Cookie', (int) 2 => 'RequestHandler', 'Security' => array( [maximum depth reached] ), (int) 3 => 'Paginator', (int) 4 => 'GenMenu' ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array() view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'search', (int) 2 => 'formatData', (int) 3 => 'discountSale' ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } )</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) { uses => array( [maximum depth reached] ) tabId => null helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( 'Session' => array( [maximum depth reached] ), 'Cookie' => array( [maximum depth reached] ), 'RequestHandler' => array( [maximum depth reached] ), 'Security' => array( [maximum depth reached] ), 'Paginator' => array( [maximum depth reached] ), 'GenMenu' => array( [maximum depth reached] ) ) [protected] _loaded => array( 'Session' => object(SessionComponent) {}, 'Cookie' => object(CookieComponent) {}, 'RequestHandler' => object(RequestHandlerComponent) {}, 'Security' => object(SecurityComponent) {}, 'Paginator' => object(PaginatorComponent) {}, 'GenMenu' => object(GenMenuComponent) {} ) }, (int) 1 => 'trigger' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) { uses => array( [maximum depth reached] ) tabId => null helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) { uses => array( [maximum depth reached] ) tabId => null helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} RequestHandler => object(RequestHandlerComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} GenMenu => object(GenMenuComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) { uses => array( (int) 0 => 'ProductCategory', (int) 1 => 'NewCategory', (int) 2 => 'Product', (int) 3 => 'Article' ) tabId => null helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Text', (int) 4 => 'Time', (int) 5 => 'Js', (int) 6 => 'Paginator' ) components => array( (int) 0 => 'Session', (int) 1 => 'Cookie', (int) 2 => 'RequestHandler', 'Security' => array( 'csrfUseOnce' => false, 'csrfExpires' => '+1 hour' ), (int) 3 => 'Paginator', (int) 4 => 'GenMenu' ) name => 'Products' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Products' layoutPath => null viewVars => array() view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProductsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'search', (int) 2 => 'formatData', (int) 3 => 'discountSale' ) modelClass => 'ProductCategory' modelKey => 'product' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array([maximum depth reached]) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Security => object(SecurityComponent) { blackHoleCallback => null requirePost => array([maximum depth reached]) requireGet => array([maximum depth reached]) requirePut => array([maximum depth reached]) requireDelete => array([maximum depth reached]) requireSecure => array([maximum depth reached]) requireAuth => array([maximum depth reached]) allowedControllers => array([maximum depth reached]) allowedActions => array([maximum depth reached]) disabledFields => array([maximum depth reached]) unlockedFields => array([maximum depth reached]) unlockedActions => array([maximum depth reached]) validatePost => true csrfCheck => true csrfExpires => '+1 hour' csrfUseOnce => false csrfLimit => (int) 100 components => array( [maximum depth reached] ) request => null settings => array( [maximum depth reached] ) [protected] _action => null [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } GenMenu => object(GenMenuComponent) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) settings => array([maximum depth reached]) controller => object(ProductsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'index', 'named' => array(), 'pass' => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ), 'root' => 'rem-cua', 'slug' => 'rem-cua-phong-tre-em-017', 'isAjax' => false, 'models' => array( 'ProductCategory' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'index', 'named' => array(), 'pass' => array( (int) 0 => 'rem-cua-phong-tre-em-017', (int) 1 => 'rem-cua' ), 'root' => 'rem-cua', 'slug' => 'rem-cua-phong-tre-em-017', 'isAjax' => false, 'models' => array( 'ProductCategory' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'rem-cua/rem-cua-phong-tre-em-017.html' base => '' webroot => '/' here => '/rem-cua/rem-cua-phong-tre-em-017.html' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'include - APP/View/Layouts/default.ctp, line 8 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 289 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 278 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
<?php if (!empty($seoHead['key_word'])) { ?><meta name="keywords" content="<?= $seoHead['key_word']?>"><?php } ?><meta name="description" content="<?= $seoHead['description_meta']?>">
$viewFile = '/home/goldhous/domains/mancuaxinh.vn/public_html/app/View/Layouts/default.ctp'
$dataForView = array(
'tabId' => null,
'code' => (int) 500,
'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")',
'message' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")',
'url' => '/rem-cua/rem-cua-phong-tre-em-017.html',
'error' => object(PDOException) {
errorInfo => array(
[maximum depth reached]
)
queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 461
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url',
(int) 4 => 'error'
),
'content_for_layout' => '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p>
<p class="notice">
<strong>SQL Query: </strong>
SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg'
(int) 0
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array(
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'table' => '`goldhous_data`.`product_categories`',
'alias' => 'ProductCategory',
'limit' => null,
'offset' => null,
'joins' => array(),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
),
'group' => null
)
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(GenMenuComponent) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => ''
)
components => array(
(int) 0 => 'RequestHandler'
)
settings => array()
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'RequestHandler' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'initialize'
)
array(
'subject' => object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
[maximum depth reached]
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
)</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Security' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
'GenMenu' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Session' => object(SessionComponent) {},
'Cookie' => object(CookieComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Security' => object(SecurityComponent) {},
'Paginator' => object(PaginatorComponent) {},
'GenMenu' => object(GenMenuComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$tabId = null
$code = (int) 500
$name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
$message = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
$url = '/rem-cua/rem-cua-phong-tre-em-017.html'
$error = object(PDOException) {
errorInfo => array(
(int) 0 => 'HY000',
(int) 1 => (int) 1021,
(int) 2 => 'Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
)
queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 461
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url',
(int) 4 => 'error'
)
$content_for_layout = '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p>
<p class="notice">
<strong>SQL Query: </strong>
SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg'
(int) 0
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array(
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'table' => '`goldhous_data`.`product_categories`',
'alias' => 'ProductCategory',
'limit' => null,
'offset' => null,
'joins' => array(),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
),
'group' => null
)
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(GenMenuComponent) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => ''
)
components => array(
(int) 0 => 'RequestHandler'
)
settings => array()
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'RequestHandler' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'initialize'
)
array(
'subject' => object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
[maximum depth reached]
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
)</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Security' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
'GenMenu' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Session' => object(SessionComponent) {},
'Cookie' => object(CookieComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Security' => object(SecurityComponent) {},
'Paginator' => object(PaginatorComponent) {},
'GenMenu' => object(GenMenuComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'include - APP/View/Layouts/default.ctp, line 11 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 289 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 278 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
<?php if (!empty($seoHead['image'])) { ?><meta property="og:image" content="<?= PREFIX_URL.$seoHead['image']?>"><?php } ?><meta property="og:title" content="<?= $seoHead['title_meta']?>">
$viewFile = '/home/goldhous/domains/mancuaxinh.vn/public_html/app/View/Layouts/default.ctp'
$dataForView = array(
'tabId' => null,
'code' => (int) 500,
'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")',
'message' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")',
'url' => '/rem-cua/rem-cua-phong-tre-em-017.html',
'error' => object(PDOException) {
errorInfo => array(
[maximum depth reached]
)
queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 461
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url',
(int) 4 => 'error'
),
'content_for_layout' => '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p>
<p class="notice">
<strong>SQL Query: </strong>
SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg'
(int) 0
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array(
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'table' => '`goldhous_data`.`product_categories`',
'alias' => 'ProductCategory',
'limit' => null,
'offset' => null,
'joins' => array(),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
),
'group' => null
)
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(GenMenuComponent) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => ''
)
components => array(
(int) 0 => 'RequestHandler'
)
settings => array()
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'RequestHandler' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'initialize'
)
array(
'subject' => object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
[maximum depth reached]
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
)</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Security' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
'GenMenu' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Session' => object(SessionComponent) {},
'Cookie' => object(CookieComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Security' => object(SecurityComponent) {},
'Paginator' => object(PaginatorComponent) {},
'GenMenu' => object(GenMenuComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$tabId = null
$code = (int) 500
$name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
$message = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
$url = '/rem-cua/rem-cua-phong-tre-em-017.html'
$error = object(PDOException) {
errorInfo => array(
(int) 0 => 'HY000',
(int) 1 => (int) 1021,
(int) 2 => 'Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
)
queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 461
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url',
(int) 4 => 'error'
)
$content_for_layout = '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p>
<p class="notice">
<strong>SQL Query: </strong>
SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg'
(int) 0
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array(
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'table' => '`goldhous_data`.`product_categories`',
'alias' => 'ProductCategory',
'limit' => null,
'offset' => null,
'joins' => array(),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
),
'group' => null
)
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(GenMenuComponent) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => ''
)
components => array(
(int) 0 => 'RequestHandler'
)
settings => array()
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'RequestHandler' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'initialize'
)
array(
'subject' => object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
[maximum depth reached]
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
)</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Security' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
'GenMenu' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Session' => object(SessionComponent) {},
'Cookie' => object(CookieComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Security' => object(SecurityComponent) {},
'Paginator' => object(PaginatorComponent) {},
'GenMenu' => object(GenMenuComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'include - APP/View/Layouts/default.ctp, line 17 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 289 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 278 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
<meta property="og:title" content="<?= $seoHead['title_meta']?>"><meta property="og:description" content="<?= $seoHead['description_meta']?>">
$viewFile = '/home/goldhous/domains/mancuaxinh.vn/public_html/app/View/Layouts/default.ctp'
$dataForView = array(
'tabId' => null,
'code' => (int) 500,
'name' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")',
'message' => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")',
'url' => '/rem-cua/rem-cua-phong-tre-em-017.html',
'error' => object(PDOException) {
errorInfo => array(
[maximum depth reached]
)
queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 461
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url',
(int) 4 => 'error'
),
'content_for_layout' => '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p>
<p class="notice">
<strong>SQL Query: </strong>
SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg'
(int) 0
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array(
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'table' => '`goldhous_data`.`product_categories`',
'alias' => 'ProductCategory',
'limit' => null,
'offset' => null,
'joins' => array(),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
),
'group' => null
)
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(GenMenuComponent) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => ''
)
components => array(
(int) 0 => 'RequestHandler'
)
settings => array()
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'RequestHandler' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'initialize'
)
array(
'subject' => object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
[maximum depth reached]
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
)</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Security' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
'GenMenu' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Session' => object(SessionComponent) {},
'Cookie' => object(CookieComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Security' => object(SecurityComponent) {},
'Paginator' => object(PaginatorComponent) {},
'GenMenu' => object(GenMenuComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$tabId = null
$code = (int) 500
$name = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
$message = 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
$url = '/rem-cua/rem-cua-phong-tre-em-017.html'
$error = object(PDOException) {
errorInfo => array(
(int) 0 => 'HY000',
(int) 1 => (int) 1021,
(int) 2 => 'Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
)
queryString => 'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'
[protected] message => 'SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")'
[protected] code => 'HY000'
[protected] file => '/home/goldhous/domains/mancuaxinh.vn/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 461
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url',
(int) 4 => 'error'
)
$content_for_layout = '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")</p>
<p class="notice">
<strong>SQL Query: </strong>
SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories` </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 461</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/Database/Mysql.php line 340</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $table </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullTableName</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $fields </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #DD0000">'SHOW FULL COLUMNS FROM ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$table</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$cols</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 1390</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">Mysql->describe(ProductCategory)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">= (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources </span><span style="color: #007700">&& </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheSources</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">method_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #DD0000">'describe'</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_schema </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">describe</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1431</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->schema()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">string Column type</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$column</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $cols </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">schema</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">]) && isset(</span><span style="color: #0000BB">$cols</span><span style="color: #007700">[</span><span style="color: #0000BB">$column</span><span style="color: #007700">][</span><span style="color: #DD0000">'type'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Datasource/DboSource.php line 2806</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->getColumnType(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $virtual </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">getColumnType</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'del_flg'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Datasource/DboSource.php line 2757</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">DboSource->_parseKey(string, integer, ProductCategory)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} elseif (</span><span style="color: #0000BB">is_numeric</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$value</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_quoteFields</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_parseKey</span><span style="color: #007700">(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">), </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'del_flg'
(int) 0
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Datasource/DboSource.php line 2637</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">DboSource->conditionKeysToString(array, boolean, ProductCategory)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">) && !empty(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $out </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditionKeysToString</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">$quoteValues</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Model/Datasource/DboSource.php line 1936</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">DboSource->conditions(array, boolean, boolean, ProductCategory)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">renderStatement</span><span style="color: #007700">(</span><span style="color: #DD0000">'select'</span><span style="color: #007700">, array(</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">conditions</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'conditions'</span><span style="color: #007700">], </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">),</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> </span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">', '</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">[</span><span style="color: #DD0000">'fields'</span><span style="color: #007700">]),</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>array(
'del_flg' => (int) 0
)
true
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Model/Datasource/DboSource.php line 1667</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">DboSource->buildStatement(array, ProductCategory)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'group' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">[</span><span style="color: #DD0000">'group'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Model</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>array(
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'table' => '`goldhous_data`.`product_categories`',
'alias' => 'ProductCategory',
'limit' => null,
'offset' => null,
'joins' => array(),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
),
'group' => null
)
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">CORE/Cake/Model/Datasource/DboSource.php line 1111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">DboSource->buildAssociationQuery(ProductCategory, array)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Model/Model.php line 3031</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">DboSource->read(ProductCategory, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Model/Model.php line 3003</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/Controller/Component/GenMenuComponent.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Model->find(string, array)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'parent_id'</span><span style="color: #007700">, </span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'flug_text'</span><span style="color: #007700">, </span><span style="color: #DD0000">'title_meta'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'conditions' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'del_flg' </span><span style="color: #007700">=> </span><span style="color: #0000BB">DEL_FLG_OFF</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'seq ASC'</span><span style="color: #007700">) </span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'threaded'
array(
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/Controller/Component/GenMenuComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">GenMenuComponent->genMenu()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Gen menu</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">genMenu</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $isMobile </span><span style="color: #007700">= </span><span style="color: #0000BB">FALSE</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">GenMenuComponent->initialize(ProductsController)</a> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">call_user_func_array(array, array)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'collectReturn'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(GenMenuComponent) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => ''
)
components => array(
(int) 0 => 'RequestHandler'
)
settings => array()
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'RequestHandler' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'initialize'
)
array(
'subject' => object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
[maximum depth reached]
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
)</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-16" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-17')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-17')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-17" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-17" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Security' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
'GenMenu' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Session' => object(SessionComponent) {},
'Cookie' => object(CookieComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Security' => object(SecurityComponent) {},
'Paginator' => object(PaginatorComponent) {},
'GenMenu' => object(GenMenuComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-18')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-18')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-18" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">triggers Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup $this</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-18" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-19')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-19')">Controller->startupProcess()</a> <div id="file-excerpt-19" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-19" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-20')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-20')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-20" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-20" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-21')">APP/webroot/index.php line 111</a> → <a href="#" onclick="traceToggle(event, 'trace-args-21')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-21" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-21" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors'include - APP/View/Layouts/default.ctp, line 18 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 289 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 278 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Error: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_238c_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
SQL Query: SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
try {$query = $this->_connection->prepare($sql, $prepareOptions);$query->setFetchMode(PDO::FETCH_LAZY);if (!$query->execute($params)) {$this->_results = $query;
array()
$table = $this->fullTableName($model);$fields = false;$cols = $this->_execute('SHOW FULL COLUMNS FROM ' . $table);if (!$cols) {
'SHOW FULL COLUMNS FROM `goldhous_data`.`product_categories`'
$db = $this->getDataSource();$db->cacheSources = ($this->cacheSources && $db->cacheSources);if (method_exists($db, 'describe')) {$this->_schema = $db->describe($this);}
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}* @return string Column type*/public function getColumnType($column) {$cols = $this->schema();if (isset($cols[$column]) && isset($cols[$column]['type'])) {
$virtual = true;}$type = $Model->getColumnType($key);}
'del_flg'
} elseif (is_numeric($key) && !empty($value)) {$data = $this->_quoteFields($value);} else {$data = $this->_parseKey(trim($key), $value, $Model);}
'del_flg'
(int) 0
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}}if (is_array($conditions) && !empty($conditions)) {$out = $this->conditionKeysToString($conditions, $quoteValues, $Model);
array(
'del_flg' => (int) 0
)
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}}return $this->renderStatement('select', array('conditions' => $this->conditions($query['conditions'], true, true, $Model),'fields' => implode(', ', $query['fields']),
array(
'del_flg' => (int) 0
)
true
true
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}'group' => $queryData['group']),$Model);}
array(
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'table' => '`goldhous_data`.`product_categories`',
'alias' => 'ProductCategory',
'limit' => null,
'offset' => null,
'joins' => array(),
'conditions' => array(
'del_flg' => (int) 0
),
'order' => array(
(int) 0 => 'seq ASC'
),
'group' => null
)
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}}// Build SQL statement with the primary model, plus hasOne and belongsTo associations$query = $this->buildAssociationQuery($Model, $queryData);
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => '`ProductCategory`.`id`',
(int) 1 => '`ProductCategory`.`parent_id`',
(int) 2 => '`ProductCategory`.`name`',
(int) 3 => '`ProductCategory`.`flug_text`',
(int) 4 => '`ProductCategory`.`title_meta`'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)* @return array*/protected function _readDataSource($type, $query) {$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();
object(ProductCategory) {
name => 'ProductCategory'
useTable => 'product_categories'
actsAs => array(
'Tree' => array(
'parent' => 'parent_id'
)
)
validate => array(
'name' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'flug_text' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'title_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'description_meta' => array(
'notEmpty' => array(
[maximum depth reached]
)
),
'key_word' => array(
'notEmpty' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
id => false
data => array()
schemaName => 'goldhous_data'
table => 'product_categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'ProductCategory'
tableToModel => array(
'product_categories' => 'ProductCategory'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'ProductCategory'
defaultPriority => (int) 10
[protected] _methods => array(
[maximum depth reached]
)
[protected] _mappedMethods => array([maximum depth reached])
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
whitelist => array()
cacheSources => true
findQueryType => 'threaded'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'counterCache'
),
'hasOne' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'dependent'
),
'hasMany' => array(
(int) 0 => 'className',
(int) 1 => 'foreignKey',
(int) 2 => 'conditions',
(int) 3 => 'fields',
(int) 4 => 'order',
(int) 5 => 'limit',
(int) 6 => 'offset',
(int) 7 => 'dependent',
(int) 8 => 'exclusive',
(int) 9 => 'finderQuery',
(int) 10 => 'counterQuery'
),
'hasAndBelongsToMany' => array(
(int) 0 => 'className',
(int) 1 => 'joinTable',
(int) 2 => 'with',
(int) 3 => 'foreignKey',
(int) 4 => 'associationForeignKey',
(int) 5 => 'conditions',
(int) 6 => 'fields',
(int) 7 => 'order',
(int) 8 => 'limit',
(int) 9 => 'offset',
(int) 10 => 'unique',
(int) 11 => 'finderQuery'
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
[protected] _validator => null
}
array(
'conditions' => array(
'del_flg' => (int) 0
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'parent_id',
(int) 2 => 'name',
(int) 3 => 'flug_text',
(int) 4 => 'title_meta'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => 'seq ASC'
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'parent' => 'parent_id'
)return null;}return $this->_readDataSource($type, $query);}
'threaded' array( 'conditions' => array( 'del_flg' => (int) 0 ), 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'seq ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'parent' => 'parent_id' )
'fields' => array('id', 'parent_id', 'name', 'flug_text', 'title_meta'),'conditions' => array('del_flg' => DEL_FLG_OFF),'order' => array('seq ASC')));
'threaded' array( 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'name', (int) 3 => 'flug_text', (int) 4 => 'title_meta' ), 'conditions' => array( 'del_flg' => (int) 0 ), 'order' => array( (int) 0 => 'seq ASC' ) )
$this->controller = $controller;// Gen menu$this->genMenu();$isMobile = FALSE;
object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}}$result = null;foreach ($list as $name) {$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);if ($options['collectReturn'] === true) {
array(
(int) 0 => object(GenMenuComponent) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => ''
)
components => array(
(int) 0 => 'RequestHandler'
)
settings => array()
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'RequestHandler' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'initialize'
)
array(
'subject' => object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
[maximum depth reached]
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
)object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}if ($listener['passParams'] === true) {$result = call_user_func_array($listener['callable'], $event->data);} else {$result = call_user_func($listener['callable'], $event);}
array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Security' => array(
[maximum depth reached]
),
'Paginator' => array(
[maximum depth reached]
),
'GenMenu' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Session' => object(SessionComponent) {},
'Cookie' => object(CookieComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Security' => object(SecurityComponent) {},
'Paginator' => object(PaginatorComponent) {},
'GenMenu' => object(GenMenuComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}* @triggers Controller.startup $this*/public function startupProcess() {$this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));$this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {
uses => array(
[maximum depth reached]
)
tabId => null
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Security => object(SecurityComponent) {}
Paginator => object(PaginatorComponent) {}
GenMenu => object(GenMenuComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}*/protected function _invoke(Controller $controller, CakeRequest $request) {$controller->constructClasses();$controller->startupProcess();
));}$response = $this->_invoke($controller, $request);if (isset($request->params['return'])) {
object(ProductsController) {
uses => array(
(int) 0 => 'ProductCategory',
(int) 1 => 'NewCategory',
(int) 2 => 'Product',
(int) 3 => 'Article'
)
tabId => null
helpers => array(
(int) 0 => 'Html',
(int) 1 => 'Form',
(int) 2 => 'Session',
(int) 3 => 'Text',
(int) 4 => 'Time',
(int) 5 => 'Js',
(int) 6 => 'Paginator'
)
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie',
(int) 2 => 'RequestHandler',
'Security' => array(
'csrfUseOnce' => false,
'csrfExpires' => '+1 hour'
),
(int) 3 => 'Paginator',
(int) 4 => 'GenMenu'
)
name => 'Products'
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
response => object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
viewPath => 'Products'
layoutPath => null
viewVars => array()
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ProductsController) {}
[protected] _enabled => array(
[maximum depth reached]
)
[protected] _loaded => array(
[maximum depth reached]
)
}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
)
scaffold => false
methods => array(
(int) 0 => 'index',
(int) 1 => 'search',
(int) 2 => 'formatData',
(int) 3 => 'discountSale'
)
modelClass => 'ProductCategory'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Cookie => object(CookieComponent) {
name => 'CakeCookie'
time => null
path => '/'
domain => ''
secure => false
key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'
httpOnly => false
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _values => array([maximum depth reached])
[protected] _type => 'cipher'
[protected] _reset => null
[protected] _expires => (int) 0
[protected] _response => object(CakeResponse) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
RequestHandler => object(RequestHandlerComponent) {
ajaxLayout => 'ajax'
enabled => true
request => object(CakeRequest) {}
response => object(CakeResponse) {}
ext => null
settings => array(
[maximum depth reached]
)
components => array([maximum depth reached])
params => object(CakeRequest) {}
[protected] _renderType => null
[protected] _inputTypeMap => array(
[maximum depth reached]
)
[protected] _viewClassMap => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => null
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+1 hour'
csrfUseOnce => false
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array(
[maximum depth reached]
)
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
GenMenu => object(GenMenuComponent) {
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
settings => array([maximum depth reached])
controller => object(ProductsController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {
[protected] _generalManager => object(CakeEventManager) {}
[protected] _listeners => array(
[maximum depth reached]
)
[protected] _isGlobal => false
}
}
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}$Dispatcher->dispatch(new CakeRequest(),new CakeResponse());
object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'products',
'action' => 'index',
'named' => array(),
'pass' => array(
(int) 0 => 'rem-cua-phong-tre-em-017',
(int) 1 => 'rem-cua'
),
'root' => 'rem-cua',
'slug' => 'rem-cua-phong-tre-em-017',
'isAjax' => false,
'models' => array(
'ProductCategory' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'rem-cua/rem-cua-phong-tre-em-017.html'
base => ''
webroot => '/'
here => '/rem-cua/rem-cua-phong-tre-em-017.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'patch' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
),
'post' => array(
'env' => 'REQUEST_METHOD',
'value' => 'POST'
),
'put' => array(
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
),
'delete' => array(
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
),
'head' => array(
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
),
'options' => array(
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
),
'ssl' => array(
'env' => 'HTTPS',
'value' => (int) 1
),
'ajax' => array(
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
),
'flash' => array(
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
),
'mobile' => array(
'env' => 'HTTP_USER_AGENT',
'options' => array(
[maximum depth reached]
)
),
'requested' => array(
'param' => 'requested',
'value' => (int) 1
),
'json' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'json'
),
'xml' => array(
'accept' => array(
[maximum depth reached]
),
'param' => 'ext',
'value' => 'xml'
)
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
)
[protected] _mimeTypes => array(
'html' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'json' => 'application/json',
'xml' => array(
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
),
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => array(
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
),
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => array(
(int) 0 => 'text/html',
(int) 1 => '*/*'
),
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => array(
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
),
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => array(
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
),
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array()
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array()
[protected] _cookies => array()
}