Notice (8): Undefined variable: Block_Categories [APP/View/Elements/menu.ctp, line 8]Code Context </div>
<div class="rightBlockContent">
<?php foreach ($Block_Categories as $Cat){ ?>
$viewFile = '/home/aleppo/public_html/app/View/Elements/menu.ctp'
$dataForView = array(
'debugToolbarPanels' => array(
'history' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => null,
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
)
),
'debugToolbarJavascript' => array(
'libs' => 'DebugKit./js/js_debug_toolbar'
),
'debugToolbarCss' => array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
),
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)',
'enabled' => true,
'code' => (int) 500,
'name' => 'Database connection "Mysql" is missing, or could not be created.',
'url' => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html',
'error' => object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
[maximum depth reached]
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/aleppo/public_html/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 192
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/missing_connection.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 260</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</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">));</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">if (</span><span style="color: #0000BB">$autoConnect</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">connect</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-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/ConnectionManager.php line 105</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</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">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3617</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" 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">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</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"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1155</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</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">void</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</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">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3644</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</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>'config'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3022</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</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">* @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-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Model.php line 2994</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</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">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-6" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'conditions' => null,
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => null
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1,
'list' => array(
'groupPath' => null,
'valuePath' => '{n}.Config.value',
'keyPath' => '{n}.Config.key'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/Component/SwapComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, array)</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: #FF8000">// Get All config
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</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">loadModel</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config'</span><span style="color: #007700">);
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'list'</span><span style="color: #007700">, array(</span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'Config.key'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Config.value'</span><span style="color: #007700">)));
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$Config</span><span style="color: #007700">;
</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/Component/SwapComponent.php line 8</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">SwapComponent->get_config(CategoryController)</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></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startup</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">) {
</span></span></code>
<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>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Get All Language
</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">SwapComponent->startup(CategoryController)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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-10')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">call_user_func_array(array, 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">}</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-10" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(SwapComponent) {
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie'
)
Controller => object(CategoryController) {}
settings => array()
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'startup'
)
array(
'subject' => object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[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-11')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">call_user_func(array, CakeEvent)</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: #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-12" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[protected] _enabled => array(
'Swap' => array(
[maximum depth reached]
),
'Auth' => array(
[maximum depth reached]
),
'Block' => array(
[maximum depth reached]
),
'Banner' => array(
[maximum depth reached]
),
'Session' => array(
[maximum depth reached]
),
'Toolbar' => array(
[maximum depth reached]
),
'Ext' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Acl' => array(
[maximum depth reached]
),
'Upload' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Swap' => object(SwapComponent) {},
'Auth' => object(AuthComponent) {},
'Block' => object(BLockComponent) {},
'Banner' => object(BannerComponent) {},
'Session' => object(SessionComponent) {},
'Toolbar' => object(ToolbarComponent) {},
'Ext' => object(ExtComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Acl' => object(AclComponent) {},
'Upload' => object(UploadComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-13" 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">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<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 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.startup'</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-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Controller->startupProcess()</a> <div id="file-excerpt-14" 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-14" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(CategoryController, CakeRequest)</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"> </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-15" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">APP/webroot/index.php line 115</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-16" 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-16" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[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',
(int) 2 => 'text/plain'
),
'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'
)
$debugToolbarPanels = array(
'history' => array(
'content' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
)
),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => null,
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
'params' => array(
[maximum depth reached]
),
'url' => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html',
'query' => array([maximum depth reached]),
'data' => array([maximum depth reached]),
'get' => array([maximum depth reached]),
'currentRoute' => object(CakeRoute) {}
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
'connections' => array([maximum depth reached]),
'threshold' => (int) 20
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)',
'enabled' => true,
'code' => (int) 500,
'name' => 'Database connection "Mysql" is missing, or could not be created.',
'url' => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html',
'error' => object(MissingConnectionException) {},
'_serialize' => array(
[maximum depth reached]
),
'$request->data' => array([maximum depth reached])
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
'php' => array(
[maximum depth reached]
),
'cake' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
)
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
'core' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
),
'plugins' => array(
[maximum depth reached]
),
'paths' => array(
[maximum depth reached]
)
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
)
)
$debugToolbarJavascript = array(
'libs' => 'DebugKit./js/js_debug_toolbar'
)
$debugToolbarCss = array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
)
$class = 'Mysql'
$message = 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)'
$enabled = true
$code = (int) 500
$name = 'Database connection "Mysql" is missing, or could not be created.'
$url = '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
$error = object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)',
'enabled' => true
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/aleppo/public_html/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 192
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/missing_connection.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 260</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</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">));</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">if (</span><span style="color: #0000BB">$autoConnect</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">connect</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-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/ConnectionManager.php line 105</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</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">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3617</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" 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">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</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"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1155</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</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">void</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</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">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3644</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</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>'config'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3022</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</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">* @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-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Model.php line 2994</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</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">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-6" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'conditions' => null,
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => null
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1,
'list' => array(
'groupPath' => null,
'valuePath' => '{n}.Config.value',
'keyPath' => '{n}.Config.key'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/Component/SwapComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, array)</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: #FF8000">// Get All config
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</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">loadModel</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config'</span><span style="color: #007700">);
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'list'</span><span style="color: #007700">, array(</span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'Config.key'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Config.value'</span><span style="color: #007700">)));
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$Config</span><span style="color: #007700">;
</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/Component/SwapComponent.php line 8</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">SwapComponent->get_config(CategoryController)</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></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startup</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">) {
</span></span></code>
<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>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Get All Language
</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">SwapComponent->startup(CategoryController)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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-10')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">call_user_func_array(array, 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">}</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-10" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(SwapComponent) {
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie'
)
Controller => object(CategoryController) {}
settings => array()
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'startup'
)
array(
'subject' => object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[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-11')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">call_user_func(array, CakeEvent)</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: #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-12" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[protected] _enabled => array(
'Swap' => array(
[maximum depth reached]
),
'Auth' => array(
[maximum depth reached]
),
'Block' => array(
[maximum depth reached]
),
'Banner' => array(
[maximum depth reached]
),
'Session' => array(
[maximum depth reached]
),
'Toolbar' => array(
[maximum depth reached]
),
'Ext' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Acl' => array(
[maximum depth reached]
),
'Upload' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Swap' => object(SwapComponent) {},
'Auth' => object(AuthComponent) {},
'Block' => object(BLockComponent) {},
'Banner' => object(BannerComponent) {},
'Session' => object(SessionComponent) {},
'Toolbar' => object(ToolbarComponent) {},
'Ext' => object(ExtComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Acl' => object(AclComponent) {},
'Upload' => object(UploadComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-13" 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">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<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 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.startup'</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-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Controller->startupProcess()</a> <div id="file-excerpt-14" 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-14" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(CategoryController, CakeRequest)</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"> </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-15" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">APP/webroot/index.php line 115</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-16" 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-16" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[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',
(int) 2 => 'text/plain'
),
'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/Elements/menu.ctp, line 8
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
View::_renderElement() - CORE/Cake/View/View.php, line 1214
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 12
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
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 960
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 289
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 210
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 187
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Elements/menu.ctp, line 8]Code Context </div>
<div class="rightBlockContent">
<?php foreach ($Block_Categories as $Cat){ ?>
$viewFile = '/home/aleppo/public_html/app/View/Elements/menu.ctp'
$dataForView = array(
'debugToolbarPanels' => array(
'history' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => null,
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
[maximum depth reached]
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
)
),
'debugToolbarJavascript' => array(
'libs' => 'DebugKit./js/js_debug_toolbar'
),
'debugToolbarCss' => array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
),
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)',
'enabled' => true,
'code' => (int) 500,
'name' => 'Database connection "Mysql" is missing, or could not be created.',
'url' => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html',
'error' => object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
[maximum depth reached]
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/aleppo/public_html/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 192
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'content_for_layout' => '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/missing_connection.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 260</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</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">));</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">if (</span><span style="color: #0000BB">$autoConnect</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">connect</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-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/ConnectionManager.php line 105</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</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">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3617</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" 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">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</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"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1155</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</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">void</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</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">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3644</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</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>'config'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3022</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</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">* @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-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Model.php line 2994</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</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">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-6" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'conditions' => null,
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => null
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1,
'list' => array(
'groupPath' => null,
'valuePath' => '{n}.Config.value',
'keyPath' => '{n}.Config.key'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/Component/SwapComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, array)</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: #FF8000">// Get All config
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</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">loadModel</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config'</span><span style="color: #007700">);
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'list'</span><span style="color: #007700">, array(</span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'Config.key'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Config.value'</span><span style="color: #007700">)));
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$Config</span><span style="color: #007700">;
</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/Component/SwapComponent.php line 8</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">SwapComponent->get_config(CategoryController)</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></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startup</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">) {
</span></span></code>
<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>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Get All Language
</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">SwapComponent->startup(CategoryController)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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-10')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">call_user_func_array(array, 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">}</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-10" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(SwapComponent) {
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie'
)
Controller => object(CategoryController) {}
settings => array()
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'startup'
)
array(
'subject' => object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[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-11')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">call_user_func(array, CakeEvent)</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: #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-12" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[protected] _enabled => array(
'Swap' => array(
[maximum depth reached]
),
'Auth' => array(
[maximum depth reached]
),
'Block' => array(
[maximum depth reached]
),
'Banner' => array(
[maximum depth reached]
),
'Session' => array(
[maximum depth reached]
),
'Toolbar' => array(
[maximum depth reached]
),
'Ext' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Acl' => array(
[maximum depth reached]
),
'Upload' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Swap' => object(SwapComponent) {},
'Auth' => object(AuthComponent) {},
'Block' => object(BLockComponent) {},
'Banner' => object(BannerComponent) {},
'Session' => object(SessionComponent) {},
'Toolbar' => object(ToolbarComponent) {},
'Ext' => object(ExtComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Acl' => object(AclComponent) {},
'Upload' => object(UploadComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-13" 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">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<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 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.startup'</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-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Controller->startupProcess()</a> <div id="file-excerpt-14" 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-14" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(CategoryController, CakeRequest)</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"> </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-15" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">APP/webroot/index.php line 115</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-16" 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-16" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[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',
(int) 2 => 'text/plain'
),
'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'
)
$debugToolbarPanels = array(
'history' => array(
'content' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
)
),
'elementName' => 'history_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'session' => array(
'content' => null,
'elementName' => 'session_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'request' => array(
'content' => array(
'params' => array(
[maximum depth reached]
),
'url' => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html',
'query' => array([maximum depth reached]),
'data' => array([maximum depth reached]),
'get' => array([maximum depth reached]),
'currentRoute' => object(CakeRoute) {}
),
'elementName' => 'request_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'sql_log' => array(
'content' => array(
'connections' => array([maximum depth reached]),
'threshold' => (int) 20
),
'elementName' => 'sql_log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'timer' => array(
'content' => null,
'elementName' => 'timer_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'log' => array(
'content' => object(DebugKitLog) {},
'elementName' => 'log_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'variables' => array(
'content' => array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)',
'enabled' => true,
'code' => (int) 500,
'name' => 'Database connection "Mysql" is missing, or could not be created.',
'url' => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html',
'error' => object(MissingConnectionException) {},
'_serialize' => array(
[maximum depth reached]
),
'$request->data' => array([maximum depth reached])
),
'elementName' => 'variables_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'environment' => array(
'content' => array(
'php' => array(
[maximum depth reached]
),
'cake' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
)
),
'elementName' => 'environment_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
),
'include' => array(
'content' => array(
'core' => array(
[maximum depth reached]
),
'app' => array(
[maximum depth reached]
),
'plugins' => array(
[maximum depth reached]
),
'paths' => array(
[maximum depth reached]
)
),
'elementName' => 'include_panel',
'plugin' => 'DebugKit',
'title' => null,
'disableTimer' => true
)
)
$debugToolbarJavascript = array(
'libs' => 'DebugKit./js/js_debug_toolbar'
)
$debugToolbarCss = array(
(int) 0 => 'DebugKit./css/debug_toolbar.css'
)
$class = 'Mysql'
$message = 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)'
$enabled = true
$code = (int) 500
$name = 'Database connection "Mysql" is missing, or could not be created.'
$url = '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
$error = object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)',
'enabled' => true
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/aleppo/public_html/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 192
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$content_for_layout = '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/missing_connection.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 260</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</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">));</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">if (</span><span style="color: #0000BB">$autoConnect</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">connect</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-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/ConnectionManager.php line 105</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</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">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3617</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" 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">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</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"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1155</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</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">void</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</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">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3644</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</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>'config'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3022</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</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">* @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-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Model/Model.php line 2994</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</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">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-6" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'conditions' => null,
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => null
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1,
'list' => array(
'groupPath' => null,
'valuePath' => '{n}.Config.value',
'keyPath' => '{n}.Config.key'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/Component/SwapComponent.php line 18</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, array)</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: #FF8000">// Get All config
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</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">loadModel</span><span style="color: #007700">(</span><span style="color: #DD0000">'Config'</span><span style="color: #007700">);
</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'list'</span><span style="color: #007700">, array(</span><span style="color: #DD0000">'fields' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'Config.key'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Config.value'</span><span style="color: #007700">)));
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Config </span><span style="color: #007700">= </span><span style="color: #0000BB">$Config</span><span style="color: #007700">;
</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'list'
array(
'fields' => array(
(int) 0 => 'Config.key',
(int) 1 => 'Config.value'
)
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/Component/SwapComponent.php line 8</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">SwapComponent->get_config(CategoryController)</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></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startup</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">) {
</span></span></code>
<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>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">get_config</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);
</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Get All Language
</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">SwapComponent->startup(CategoryController)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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-10')">CORE/Cake/Utility/ObjectCollection.php line 128</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">call_user_func_array(array, 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">}</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-10" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(SwapComponent) {
components => array(
(int) 0 => 'Session',
(int) 1 => 'Cookie'
)
Controller => object(CategoryController) {}
settings => array()
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
'Session' => array(
[maximum depth reached]
),
'Cookie' => array(
[maximum depth reached]
)
)
},
(int) 1 => 'startup'
)
array(
'subject' => object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[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-11')">ObjectCollection->trigger(CakeEvent)</a> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Event/CakeEventManager.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">call_user_func(array, CakeEvent)</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: #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-12" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[protected] _enabled => array(
'Swap' => array(
[maximum depth reached]
),
'Auth' => array(
[maximum depth reached]
),
'Block' => array(
[maximum depth reached]
),
'Banner' => array(
[maximum depth reached]
),
'Session' => array(
[maximum depth reached]
),
'Toolbar' => array(
[maximum depth reached]
),
'Ext' => array(
[maximum depth reached]
),
'RequestHandler' => array(
[maximum depth reached]
),
'Acl' => array(
[maximum depth reached]
),
'Upload' => array(
[maximum depth reached]
)
)
[protected] _loaded => array(
'Swap' => object(SwapComponent) {},
'Auth' => object(AuthComponent) {},
'Block' => object(BLockComponent) {},
'Banner' => object(BannerComponent) {},
'Session' => object(SessionComponent) {},
'Toolbar' => object(ToolbarComponent) {},
'Ext' => object(ExtComponent) {},
'RequestHandler' => object(RequestHandlerComponent) {},
'Acl' => object(AclComponent) {},
'Upload' => object(UploadComponent) {}
)
},
(int) 1 => 'trigger'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Controller/Controller.php line 677</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-13" 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">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<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 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.startup'</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-13" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(CategoryController) {
name => 'Category'
uses => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
Config => object(Config) {}
current_lang => null
alllang => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Category'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'show'
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 => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {}
Auth => object(AuthComponent) {}
Block => object(BLockComponent) {}
Banner => object(BannerComponent) {}
Session => object(SessionComponent) {}
Toolbar => object(ToolbarComponent) {}
Ext => object(ExtComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Acl => object(AclComponent) {}
Upload => object(UploadComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE/Cake/Routing/Dispatcher.php line 189</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Controller->startupProcess()</a> <div id="file-excerpt-14" 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-14" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">CORE/Cake/Routing/Dispatcher.php line 167</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->_invoke(CategoryController, CakeRequest)</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"> </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-15" class="cake-code-dump" style="display: none;"><pre>object(CategoryController) {
name => 'Category'
uses => array(
(int) 0 => 'Category_detail',
(int) 1 => 'Sub',
(int) 2 => 'Sub_detail',
(int) 3 => 'Sub2',
(int) 4 => 'Sub2_detail',
(int) 5 => 'Config',
(int) 6 => 'Language',
(int) 7 => 'Admin',
(int) 8 => 'Mod',
(int) 9 => 'Poll',
(int) 10 => 'Ads_zone',
(int) 11 => 'Ads_banner',
(int) 12 => 'Section',
(int) 13 => 'Category',
(int) 14 => 'News',
(int) 15 => 'Break_news',
(int) 16 => 'Page',
(int) 17 => 'Block_list'
)
components => array(
'Swap' => null,
'Auth' => null,
'Block' => null,
'Banner' => null,
'Session' => null,
'DebugKit.Toolbar' => null,
'Ext' => null,
'RequestHandler' => null,
'Acl' => null,
'Upload' => null
)
helpers => array(
'banner' => null,
'Form' => null,
'Html' => null,
'Pagination' => null
)
Config => object(Config) {
name => 'Config'
useTable => 'config'
primaryKey => 'conf_id'
useDbConfig => 'default'
id => false
data => array([maximum depth reached])
schemaName => null
table => 'config'
validate => array([maximum depth reached])
validationErrors => array([maximum depth reached])
validationDomain => null
plugin => null
alias => 'Config'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'list'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => null
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
current_lang => null
alllang => null
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.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 => 'Category'
layoutPath => null
viewVars => array()
view => 'show'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(CategoryController) {}
[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 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
)
scaffold => false
methods => array(
(int) 0 => 'show',
(int) 1 => 'sub',
(int) 2 => 'sub2',
(int) 3 => 'admin_index',
(int) 4 => 'admin_cat_new',
(int) 5 => 'admin_sub_new',
(int) 6 => 'admin_sub2_new',
(int) 7 => 'admin_cat_edit',
(int) 8 => 'admin_sub_edit',
(int) 9 => 'admin_sub2_edit',
(int) 10 => 'admin_cat_delete',
(int) 11 => 'admin_sub_delete',
(int) 12 => 'admin_sub2_delete',
(int) 13 => 'admin_cat_ord',
(int) 14 => '_Build_Tree',
(int) 15 => 'ajax_get_sub',
(int) 16 => 'admin_ajax_update_sub',
(int) 17 => 'admin_ajax_update_sub2'
)
modelClass => 'Category_detail'
modelKey => 'category'
validationErrors => null
Swap => object(SwapComponent) {
components => array(
[maximum depth reached]
)
Controller => object(CategoryController) {}
settings => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Auth => object(AuthComponent) {
Controller => null
admin_url => '/admin_cp/'
mod_url => '/mod_cp/'
profile_url => '/signin/'
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Block => object(BLockComponent) {
method => ''
name => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Banner => object(BannerComponent) {
name => ''
method => ''
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Toolbar => object(ToolbarComponent) {
settings => array(
[maximum depth reached]
)
controller => object(CategoryController) {}
components => array(
[maximum depth reached]
)
panels => array(
[maximum depth reached]
)
javascript => array(
[maximum depth reached]
)
css => array(
[maximum depth reached]
)
cacheKey => 'toolbar_cache'
cacheDuration => '+4 hours'
enabled => true
Session => object(SessionComponent) {}
[protected] _defaultPanels => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Ext => object(ExtComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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])
}
Acl => object(AclComponent) {
Aro => object(Aro) {}
Aco => object(Aco) {}
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Instance => object(DbAcl) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Upload => object(UploadComponent) {
_file => null
_filepath => null
_destination => null
_name => null
_short => null
_rules => null
_allowed => null
errors => null
settings => array([maximum depth reached])
components => array([maximum depth reached])
[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' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-16')">APP/webroot/index.php line 115</a> → <a href="#" onclick="traceToggle(event, 'trace-args-16')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-16" 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-16" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
'plugin' => null,
'controller' => 'category',
'action' => 'show',
'named' => array(),
'pass' => array(
(int) 0 => '10',
(int) 1 => 'ar',
(int) 2 => 'المطبخ_الحلبي.html'
),
'models' => array(
'Config' => array(
[maximum depth reached]
),
'Language' => array(
[maximum depth reached]
),
'Admin' => array(
[maximum depth reached]
),
'Mod' => array(
[maximum depth reached]
),
'Poll' => array(
[maximum depth reached]
),
'Ads_zone' => array(
[maximum depth reached]
),
'Ads_banner' => array(
[maximum depth reached]
),
'Section' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'News' => array(
[maximum depth reached]
),
'Break_news' => array(
[maximum depth reached]
),
'Page' => array(
[maximum depth reached]
),
'Block_list' => array(
[maximum depth reached]
),
'Permission' => array(
[maximum depth reached]
),
'Aro' => array(
[maximum depth reached]
),
'Aco' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
base => ''
webroot => '/'
here => '/category/show/10/ar/%D8%A7%D9%84%D9%85%D8%B7%D8%A8%D8%AE_%D8%A7%D9%84%D8%AD%D9%84%D8%A8%D9%8A.html'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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
)
)
[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',
(int) 2 => 'text/plain'
),
'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/Elements/menu.ctp, line 8
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
View::_renderElement() - CORE/Cake/View/View.php, line 1214
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 12
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
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 960
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 289
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 210
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 187
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??