MODPATH/database/classes/kohana/database/pdo.php [ 80 ]
75 $benchmark = Profiler::start("Database ({$this->_instance})", $sql);
76 }
77
78 try
79 {
80 $result = $this->_connection->query($sql);
81 }
82 catch (Exception $e)
83 {
84 if (isset($benchmark))
85 {
-
MODPATH/database/classes/kohana/database/pdo.php [ 80 ] » PDO->query(arguments)
0
string(210) "SELECT veno_blocks.id, veno_blocks.page, veno_blocks.area, veno_blocks.order, veno_blocks.elementtype, veno_blocks.element FROM …"
75 $benchmark = Profiler::start("Database ({$this->_instance})", $sql); 76 } 77 78 try 79 { 80 $result = $this->_connection->query($sql); 81 } 82 catch (Exception $e) 83 { 84 if (isset($benchmark)) 85 {
-
MODPATH/database/classes/kohana/database/query.php [ 206 ] » Kohana_Database_PDO->query(arguments)
type
integer 1
sql
string(210) "SELECT veno_blocks.id, veno_blocks.page, veno_blocks.area, veno_blocks.order, veno_blocks.elementtype, veno_blocks.element FROM …"
as_object
string(16) "Model_Veno_Block"
201 return new Database_Result_Cached($result, $sql, $this->_as_object); 202 } 203 } 204 205 // Execute the query 206 $result = $db->query($this->_type, $sql, $this->_as_object); 207 208 if (isset($cache_key)) 209 { 210 // Cache the result array 211 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/sprig-foreign_field/classes/sprig.php [ 1163 ] » Kohana_Database_Query->execute(arguments)
db
string(7) "default"
1158 } 1159 else 1160 { 1161 return $query 1162 ->as_object(get_class($this)) 1163 ->execute($this->_db); 1164 } 1165 } 1166 1167 1168 /**
-
MODPATH/veno_1.6/core/classes/veno/core.php [ 324 ] » Sprig->load(arguments)
query
object Database_Query_Builder_Select(16)
{ protected _select => array(6) ( 0 => string(14) "veno_blocks.id" 1 => string(16) "veno_blocks.page" 2 => string(16) "veno_blocks.area" 3 => string(17) "veno_blocks.order" 4 => string(23) "veno_blocks.elementtype" 5 => string(19) "veno_blocks.element" ) protected _distinct => bool FALSE protected _from => array(1) ( 0 => string(11) "veno_blocks" ) protected _join => array(0) protected _group_by => array(0) protected _having => array(0) protected _order_by => array(1) ( 0 => array(2) ( 0 => string(5) "order" 1 => string(3) "ASC" ) ) protected _limit => NULL protected _offset => NULL protected _last_join => NULL protected _where => array(2) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(16) "veno_blocks.page" 1 => string(1) "=" 2 => integer 1 ) ) 1 => array(1) ( "AND" => array(3) ( 0 => string(16) "veno_blocks.area" 1 => string(1) "=" 2 => integer 1 ) ) ) protected _type => integer 1 protected _lifetime => NULL protected _sql => string(0) "" protected _parameters => array(0) protected _as_object => string(16) "Model_Veno_Block" }
limit
bool FALSE
319 $query = DB::select()->order_by('order','ASC'); 320 321 $elements = Sprig::factory('veno_block',array( 322 'page' => self::$page->id, 323 'area' => $id, 324 ))->load($query,FALSE); 325 326 $content = ""; 327 328 foreach ($elements as $item) { 329 // Create an instance of the element and render it
-
{PHP internal call} » Veno_Core->element_area(arguments)
id
string(1) "1"
name
string(16) "Treść główna"
-
MODPATH/veno_1.6/core/vendor/Twig/lib/Twig/Resource.php [ 70 ] » call_user_func_array(arguments)
function_name
array(2) ( 0 => object Veno(0)
{ }
1 => string(12) "element_area" )parameters
array(2) ( 0 => string(1) "1" 1 => string(16) "Treść główna" )
65 if ($this->env->hasExtension('sandbox')) 66 { 67 $this->env->getExtension('sandbox')->checkMethodAllowed($object, $method); 68 } 69 70 return call_user_func_array(array($object, $method), $arguments); 71 } 72 }
-
APPPATH/cache/twig/__TwigTemplate_a7b8e5b5ed40f320d58a6bd506b87cd6.php [ 54 ] » Twig_Resource->getAttribute(arguments)
object
object Veno(0)
{ }
item
string(12) "element_area"
arguments
array(2) ( 0 => string(1) "1" 1 => string(16) "Treść główna" )
49 echo $this->getAttribute((isset($context['Veno']) ? $context['Veno'] : null), "element", array("snippet", "PiA", )); 50 echo " 51 52 "; 53 // line 12 54 echo $this->getAttribute((isset($context['Veno']) ? $context['Veno'] : null), "element_area", array("1", "Treść główna", )); 55 echo " 56 57 "; 58 // line 14 59 echo $this->getAttribute((isset($context['Veno']) ? $context['Veno'] : null), "element", array("snippet", "JAK DZIALAMY", ));
-
MODPATH/veno_1.6/core/vendor/Twig/lib/Twig/Template.php [ 26 ] » __TwigTemplate_a7b8e5b5ed40f320d58a6bd506b87cd6->display(arguments)
context
array(1) ( "Veno" => object Veno(0)
{ }
)21 public function render(array $context) 22 { 23 ob_start(); 24 try 25 { 26 $this->display($context); 27 } 28 catch (Exception $e) 29 { 30 ob_end_clean(); 31
-
MODPATH/veno_1.6/core/classes/veno/twig.php [ 39 ] » Twig_Template->render(arguments)
context
array(1) ( "Veno" => object Veno(0)
{ }
)34 )); 35 } 36 37 $template = self::$twig->loadTemplate($code); 38 39 $out = $template->render(array('Veno'=>new Veno)); 40 41 if (isset($benchmark)) 42 { 43 // Stop the benchmark 44 Profiler::stop($benchmark);
-
MODPATH/veno_1.6/core/classes/model/veno/layout.php [ 98 ] » Veno_Twig::render(arguments)
code
string(589) "<div id="wrapper"> {{ Veno.element('snippet', 'HEADER') }} <!-- content begin --> <div id="content" class="no- …"
93 { 94 // Start a new benchmark 95 $benchmark = Profiler::start('Veno', 'Render Layout'); 96 } 97 98 $out = Veno_Twig::render($this->code); 99 100 if (isset($benchmark)) 101 { 102 // Stop the benchmark 103 Profiler::stop($benchmark);
-
MODPATH/veno_1.6/core/classes/model/veno/page.php [ 156 ] » Model_Veno_Layout->render()
151 } 152 153 Veno::$page = $this; 154 155 // Build the view 156 return new View(Kohana::Config('veno.base_view'), array('layoutcode' => $this->layout->load()->render())); 157 158 } 159 160 public function nav_nodes($depth) 161 {
-
MODPATH/veno_1.6/core/classes/controller/veno.php [ 113 ] » Model_Veno_Page->render()
108 } 109 110 // Set the status to 200, rather than 404, which was set by the router with the reflectionexception 111 Veno::status(200); 112 113 $out = $page->render(); 114 } 115 catch (Veno_Exception $e) 116 { 117 // Find the error page 118 $error = Sprig::factory('veno_page', array('url'=>'error'))->load();
-
{PHP internal call} » Controller_Veno->action_view()
-
MODPATH/veno_1.6/core/classes/request.php [ 68 ] » ReflectionMethod->invokeArgs(arguments)
object
object Controller_Veno(2)
{ protected account => NULL public request => object Request(9)
{ public route => object Route(4)
}{ protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "welcome" "action" => string(5) "index" ) protected _route_regex => string(88) "#^(?:(?P<controller>[^/.,;?]++)(?:/(?P<action>[^/.,;?]++)(?:/(?P<id>[^/.,;?]++))?)?)?$#u" }
public status => integer 500 public response => string(0) "" public headers => array(0) public directory => string(0) "" public controller => string(4) "veno" public action => string(4) "view" public uri => string(9) "veno/view" protected _params => array(0) }args
array(0)
63 64 // Ensure the action exists, and use __call() if it doesn't 65 if ($class->hasMethod('action_'.$action)) 66 { 67 // Execute the main action with the parameters 68 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 69 } 70 else 71 { 72 $class->getMethod('__call')->invokeArgs($controller,array($action,$this->_params)); 73 }
-
APPPATH/bootstrap.php [ 116 ] » Request->execute()
111 catch (ReflectionException $e) 112 { 113 114 // Call Veno 115 $path = 'veno/view'; 116 $request = Request::factory($path)->execute(); 117 118 // Send the headers from the Request singleton 119 Request::instance()->send_headers(); 120 121 // Echo the response
-
DOCROOT/index.php [ 103 ] » require(arguments)
0
string(84) "/home/zyga8746/domains/projektowaniewnetrz.net/public_html/application/bootstrap.php"
98 // Load empty core extension 99 require SYSPATH.'classes/kohana'.EXT; 100 } 101 102 // Bootstrap the application 103 require APPPATH.'bootstrap'.EXT;