MODPATH/kcache/classes/kohana/kcache/memcache.php [ 124 ]
119 protected function __construct(array $config)
120 {
121 // Check for the memcache extention
122 if(!extension_loaded('memcache'))
123 {
124 throw new Kohana_KCache_Exception('Memcache PHP extention not loaded');
125 }
126
127 parent::__construct($config);
128
129 // Setup Memcache
-
MODPATH/kcache/classes/kohana/kcache.php [ 138 ] » Kohana_KCache_Memcache->__construct(arguments)
0
array(5) ( "driver" => string(8) "memcache" "default_expire" => integer 600 "compression" => bool FALSE "servers" => array(1) ( 0 => array(7) ( "host" => string(9) "localhost" "port" => integer 11211 "persistent" => bool FALSE "weight" => integer 1 "timeout" => integer 1 "retry_interval" => integer 15 "status" => bool TRUE ) ) "instant_death" => bool TRUE )
133 134 $config = $config->get($group); 135 136 // Create a new cache type instance 137 $cache_class = 'KCache_' . ucfirst($config['driver']); 138 KCache::$instances[$group] = new $cache_class($config); 139 140 // Return the instance 141 return KCache::$instances[$group]; 142 } 143
-
/_netgraf/cms/cms/classes/cms/main.php [ 65 ] » Kohana_KCache::instance()
60 * Mapa strony. 61 */ 62 public function action_sitemap() 63 { 64 $filename = 'sitemap'; 65 $xml = KCache::instance()->get($filename); 66 if(!$xml) 67 { 68 $sitemap = new Sitemap(); 69 70 // Podstrony
-
{PHP internal call} » CMS_Main->action_sitemap(arguments)
0
string(7) "sitemap"
1
object Route(6)
{ protected _callback => NULL protected _uri => string(7) "sitemap" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(7) "sitemap" ) protected _route_regex => string(13) "#^sitemap$#uD" }
-
SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Main(12)
{ public template => object View(2)
{ protected _file => string(49) "/newpage/application/views/default/masterpage.php" protected _data => array(1) ( "content" => object View(2)
public page_title => NULL public layout => NULL public site_path => array(0) public menu_active => string(0) "" public description => string(11) "Netgraf CMS" public keywords => string(11) "Netgraf CMS" private noglue => NULL public auto_render => bool TRUE public request => object Request(18){ protected _file => string(54) "/newpage/application/views/default/layouts/default.php" protected _data => array(1) ( "content" => string(0) "" ) }
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "HTTP" protected _referrer => NULL protected _route => object Route(6)
public response => object Response(5){ protected _callback => NULL protected _uri => string(7) "sitemap" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(7) "sitemap" ) protected _route_regex => string(13) "#^sitemap$#uD" }
protected _response => object Response(5){ protected _status => integer 200 protected _header => object Http_Header(0)
protected _header => object Http_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "HTTP" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "main" protected _action => string(7) "sitemap" protected _uri => string(7) "sitemap" protected _external => bool FALSE protected _params => array(2) ( "uri" => string(7) "sitemap" "route" => object Route(6){ protected _callback => NULL protected _uri => string(7) "sitemap" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(7) "sitemap" ) protected _route_regex => string(13) "#^sitemap$#uD" }
) protected _get => array(1) ( "ml" => string(1) "1" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1711649419 }
}{ protected _status => integer 200 protected _header => object Http_Header(0)
public distributions => object Database_MySQL_Result(7){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "HTTP" }{ protected _internal_row => integer 0 protected _query => string(65) "SELECT `distributions`.* FROM `distributions` ORDER BY `name` ASC" protected _result => resource(mysql result) protected _total_rows => integer 7 protected _current_row => integer 0 protected _as_object => string(18) "Model_Distribution" protected _object_params => NULL }
}1
array(2) ( "uri" => string(7) "sitemap" "route" => object Route(6)
{ protected _callback => NULL protected _uri => string(7) "sitemap" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(7) "sitemap" ) protected _route_regex => string(13) "#^sitemap$#uD" }
)127 * Execute the main action with the parameters 128 * 129 * @deprecated $params passing is deprecated since version 3.1 130 * will be removed in 3.2. 131 */ 132 $method->invokeArgs($controller, $params); 133 134 // Execute the "after action" method 135 $class->getMethod('after')->invoke($controller); 136 137 // Stop response time
-
SYSPATH/classes/kohana/request.php [ 964 ] » Kohana_Request_Client_Internal->execute(arguments)
0
object Request(18)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "HTTP" protected _referrer => NULL protected _route => object Route(6)
{ protected _callback => NULL protected _uri => string(7) "sitemap" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(7) "sitemap" ) protected _route_regex => string(13) "#^sitemap$#uD" }
protected _response => object Response(5){ protected _status => integer 200 protected _header => object Http_Header(0)
protected _header => object Http_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "HTTP" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "main" protected _action => string(7) "sitemap" protected _uri => string(7) "sitemap" protected _external => bool FALSE protected _params => array(2) ( "uri" => string(7) "sitemap" "route" => object Route(6){ protected _callback => NULL protected _uri => string(7) "sitemap" protected _host => NULL protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(7) "sitemap" ) protected _route_regex => string(13) "#^sitemap$#uD" }
) protected _get => array(1) ( "ml" => string(1) "1" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1711649419 }
}959 public function execute() 960 { 961 if ( ! $this->_client instanceof Kohana_Request_Client) 962 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(':uri', $this->uri)); 963 964 return $this->_client->execute($this); 965 } 966 967 /** 968 * Returns whether this request is the initial request Kohana received. 969 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory() 118 ->execute() 119 ->send_headers() 120 ->body();