MODPATH/database/classes/Kohana/Database/PDO.php [ 59 ]
54 // Create a new PDO connection
55 $this->_connection = new PDO($dsn, $username, $password, $options);
56 }
57 catch (PDOException $e)
58 {
59 throw new Database_Exception(':error',
60 array(':error' => $e->getMessage()),
61 $e->getCode());
62 }
63 }
64
-
MODPATH/database/classes/Kohana/Database/PDO.php [ 130 ] » Kohana_Database_PDO->connect()
125 } 126 127 public function query($type, $sql, $as_object = FALSE, array $params = NULL) 128 { 129 // Make sure the database is connected 130 $this->_connection or $this->connect(); 131 132 if (Kohana::$profiling) 133 { 134 // Benchmark this query for the current instance 135 $benchmark = Profiler::start("Database ({$this->_instance})", $sql);
-
MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_PDO->query(arguments)
0
integer 1
1
string(156) "SELECT COUNT(calendartypeposts.post_id) AS records_found FROM vw_calendar_type_posts AS calendartypeposts WHERE type_id = 0 AND …"
2
bool FALSE
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 247 } 248 } 249 250 // Execute the query 251 $result = $db->query($this->_type, $sql, $as_object, $object_params); 252 253 if (isset($cache_key) AND $this->_lifetime > 0) 254 { 255 // Cache the result array 256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/orm/classes/Kohana/ORM.php [ 1648 ] » Kohana_Database_Query->execute(arguments)
0
object Database_PDO(5)
{ protected _identifier => string(0) "" public last_query => NULL protected _instance => string(7) "default" protected _connection => NULL protected _config => array(4) ( "type" => string(3) "PDO" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
1643 1644 $this->_build(Database::SELECT); 1645 1646 $records = $this->_db_builder->from(array($this->_table_name, $this->_object_name)) 1647 ->select(array(DB::expr('COUNT('.$this->_db->quote_column($this->_object_name.'.'.$this->_primary_key).')'), 'records_found')) 1648 ->execute($this->_db) 1649 ->get('records_found'); 1650 1651 // Add back in selected columns 1652 $this->_db_pending += $selects; 1653
-
APPPATH/classes/Model/CalendarTypePosts.php [ 40 ] » Kohana_ORM->count_all()
35 break; 36 case "total": 37 $this->clear(); 38 return $this->where('type_id','=',$this->type_id) 39 ->and_where('post_ts','>=',DB::expr('CURRENT_TIMESTAMP')) 40 ->count_all(); 41 break; 42 default: 43 return false; 44 break; 45 }
-
APPPATH/views/home/ministries-epic.php [ 2 ] » Model_CalendarTypePosts->get_data(arguments)
0
string(5) "total"
1 <?php 2 $cal_post_count=$cal_posts->get_data("total"); 3 ?> 4 5 <div class="container"> 6 7 <h1 class="cct_font">E.P.I.C. (Recovery)</h1>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(49) "/var/www/html/xapp/views/home/ministries-epic.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(49) "/var/www/html/xapp/views/home/ministries-epic.php"
1
array(6) ( "r1" => object View(2)
{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "5" 0 => string(1) "5" "name" => string(14) "E.P.I.C > 2015" 1 => string(14) "E.P.I.C > 2015" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:11:21" 4 => string(19) "2018-04-23 06:11:21" "updated_at" => string(19) "2018-04-23 20:00:13" 5 => string(19) "2018-04-23 20:00:13" ) "resource_items" => object PDOStatement(1)
"r2" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "6" 0 => string(1) "6" "name" => string(14) "E.P.I.C > 2016" 1 => string(14) "E.P.I.C > 2016" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:11:54" 4 => string(19) "2018-04-23 06:11:54" "updated_at" => string(19) "2018-04-23 20:11:17" 5 => string(19) "2018-04-23 20:11:17" ) "resource_items" => object PDOStatement(1)
"r3" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "7" 0 => string(1) "7" "name" => string(20) "E.P.I.C > Colossians" 1 => string(20) "E.P.I.C > Colossians" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:12:20" 4 => string(19) "2018-04-23 06:12:20" "updated_at" => string(19) "2018-04-23 20:45:28" 5 => string(19) "2018-04-23 20:45:28" ) "resource_items" => object PDOStatement(1)
"r4" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "8" 0 => string(1) "8" "name" => string(44) "E.P.I.C > Studies In The Book Of Philippians" 1 => string(44) "E.P.I.C > Studies In The Book Of Philippians" "description" => NULL 2 => NULL "base_s3_path" => string(27) "ministries/epic/Philippians" 3 => string(27) "ministries/epic/Philippians" "created_at" => string(19) "2018-04-23 06:13:07" 4 => string(19) "2018-04-23 06:13:07" "updated_at" => string(19) "2018-04-23 20:50:35" 5 => string(19) "2018-04-23 20:50:35" ) "resource_items" => object PDOStatement(1)
"r5" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "9" 0 => string(1) "9" "name" => string(19) "E.P.I.C > 1 Timothy" 1 => string(19) "E.P.I.C > 1 Timothy" "description" => NULL 2 => NULL "base_s3_path" => string(24) "ministries/epic/1Timothy" 3 => string(24) "ministries/epic/1Timothy" "created_at" => string(19) "2018-05-25 17:05:15" 4 => string(19) "2018-05-25 17:05:15" "updated_at" => string(19) "2018-05-25 17:05:15" 5 => string(19) "2018-05-25 17:05:15" ) "resource_items" => object PDOStatement(1)
"cal_posts" => object Model_CalendarTypePosts(36){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _table_name => string(22) "vw_calendar_type_posts" protected _primary_key => string(7) "post_id" protected _table_columns => array(10) ( "post_id" => NULL "fk_type_id" => NULL "post_ts" => NULL "post_ts_time" => NULL "post_name" => NULL "post_slug" => NULL "post_details" => NULL "type_id" => NULL "type_name" => NULL "type_slug" => NULL ) public type_id => integer 0 public type_slug => string(0) "" protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "post_id" => NULL "fk_type_id" => NULL "post_ts" => NULL "post_ts_time" => NULL "post_name" => NULL "post_slug" => NULL "post_details" => NULL "type_id" => NULL "type_name" => NULL "type_slug" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(17) "calendartypeposts" protected _object_plural => string(19) "calendartypepostses" protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
){ protected _identifier => string(0) "" public last_query => NULL protected _instance => string(7) "default" protected _connection => NULL protected _config => array(4) ( "type" => string(3) "PDO" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
protected _db_group => NULL protected _db_applied => array(2) ( "where" => string(5) "where" "and_where" => string(9) "and_where" ) protected _db_pending => array(2) ( 0 => array(2) ( "name" => string(5) "where" "args" => array(3) ( 0 => string(7) "type_id" 1 => string(1) "=" 2 => integer 0 ) ) 1 => array(2) ( "name" => string(9) "and_where" "args" => array(3) ( 0 => string(7) "post_ts" 1 => string(2) ">=" 2 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(17) "CURRENT_TIMESTAMP" }
) ) ) protected _db_reset => bool TRUE protected _db_builder => object Database_Query_Builder_Select(19){ protected _select => array(1) ( 0 => array(2) ( 0 => object Database_Expression(2)
protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(17) "calendartypeposts" }{ protected _parameters => array(0) protected _value => string(32) "COUNT(calendartypeposts.post_id)" }
1 => string(13) "records_found" ) ) protected _distinct => bool FALSE protected _from => array(1) ( 0 => array(2) ( 0 => string(22) "vw_calendar_type_posts" 1 => string(17) "calendartypeposts" ) ) protected _join => array(0) protected _group_by => array(0) protected _having => array(0) protected _offset => NULL protected _union => array(0) protected _last_join => NULL protected _where => array(2) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(7) "type_id" 1 => string(1) "=" 2 => integer 0 ) ) 1 => array(1) ( "AND" => array(3) ( 0 => string(7) "post_ts" 1 => string(2) ">=" 2 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(17) "CURRENT_TIMESTAMP" }
) ) ) protected _order_by => array(0) protected _limit => NULL protected _type => integer 1 protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => string(156) "SELECT COUNT(calendartypeposts.post_id) AS records_found FROM vw_calendar_type_posts AS calendartypeposts WHERE type_id = 0 AND …" protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 /** 233 * Display the exception message.
-
APPPATH/views/site-index.php [ 10 ] » Kohana_View->__toString()
5 </head> 6 <body> 7 <div id="fb-root"></div> 8 <?php 9 print $header; 10 print $content; 11 print $footer; 12 ?> 13 14 15 <div class="modal fade" id="contact_ministry_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(39) "/var/www/html/xapp/views/site-index.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(39) "/var/www/html/xapp/views/site-index.php"
1
array(4) ( "headerMeta" => object View(2)
{ protected _file => string(47) "/var/www/html/xapp/views/global/header-meta.php" protected _data => array(1) ( "lib" => string(653) "<link href="/xlib/bootstrap320/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" /> <script src="/xlib/boot …" ) }
"header" => string(0) "" "footer" => object View(2){ protected _file => string(42) "/var/www/html/xapp/views/global/footer.php" protected _data => array(0) }
"content" => object View(2){ protected _file => string(49) "/var/www/html/xapp/views/home/ministries-epic.php" protected _data => array(6) ( "r1" => object View(2)
){ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "5" 0 => string(1) "5" "name" => string(14) "E.P.I.C > 2015" 1 => string(14) "E.P.I.C > 2015" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:11:21" 4 => string(19) "2018-04-23 06:11:21" "updated_at" => string(19) "2018-04-23 20:00:13" 5 => string(19) "2018-04-23 20:00:13" ) "resource_items" => object PDOStatement(1)
"r2" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "6" 0 => string(1) "6" "name" => string(14) "E.P.I.C > 2016" 1 => string(14) "E.P.I.C > 2016" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:11:54" 4 => string(19) "2018-04-23 06:11:54" "updated_at" => string(19) "2018-04-23 20:11:17" 5 => string(19) "2018-04-23 20:11:17" ) "resource_items" => object PDOStatement(1)
"r3" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "7" 0 => string(1) "7" "name" => string(20) "E.P.I.C > Colossians" 1 => string(20) "E.P.I.C > Colossians" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:12:20" 4 => string(19) "2018-04-23 06:12:20" "updated_at" => string(19) "2018-04-23 20:45:28" 5 => string(19) "2018-04-23 20:45:28" ) "resource_items" => object PDOStatement(1)
"r4" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "8" 0 => string(1) "8" "name" => string(44) "E.P.I.C > Studies In The Book Of Philippians" 1 => string(44) "E.P.I.C > Studies In The Book Of Philippians" "description" => NULL 2 => NULL "base_s3_path" => string(27) "ministries/epic/Philippians" 3 => string(27) "ministries/epic/Philippians" "created_at" => string(19) "2018-04-23 06:13:07" 4 => string(19) "2018-04-23 06:13:07" "updated_at" => string(19) "2018-04-23 20:50:35" 5 => string(19) "2018-04-23 20:50:35" ) "resource_items" => object PDOStatement(1)
"r5" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "9" 0 => string(1) "9" "name" => string(19) "E.P.I.C > 1 Timothy" 1 => string(19) "E.P.I.C > 1 Timothy" "description" => NULL 2 => NULL "base_s3_path" => string(24) "ministries/epic/1Timothy" 3 => string(24) "ministries/epic/1Timothy" "created_at" => string(19) "2018-05-25 17:05:15" 4 => string(19) "2018-05-25 17:05:15" "updated_at" => string(19) "2018-05-25 17:05:15" 5 => string(19) "2018-05-25 17:05:15" ) "resource_items" => object PDOStatement(1)
"cal_posts" => object Model_CalendarTypePosts(36){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _table_name => string(22) "vw_calendar_type_posts" protected _primary_key => string(7) "post_id" protected _table_columns => array(10) ( "post_id" => NULL "fk_type_id" => NULL "post_ts" => NULL "post_ts_time" => NULL "post_name" => NULL "post_slug" => NULL "post_details" => NULL "type_id" => NULL "type_name" => NULL "type_slug" => NULL ) public type_id => integer 0 public type_slug => string(0) "" protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "post_id" => NULL "fk_type_id" => NULL "post_ts" => NULL "post_ts_time" => NULL "post_name" => NULL "post_slug" => NULL "post_details" => NULL "type_id" => NULL "type_name" => NULL "type_slug" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(17) "calendartypeposts" protected _object_plural => string(19) "calendartypepostses" protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) }{ protected _identifier => string(0) "" public last_query => NULL protected _instance => string(7) "default" protected _connection => NULL protected _config => array(4) ( "type" => string(3) "PDO" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
protected _db_group => NULL protected _db_applied => array(2) ( "where" => string(5) "where" "and_where" => string(9) "and_where" ) protected _db_pending => array(2) ( 0 => array(2) ( "name" => string(5) "where" "args" => array(3) ( 0 => string(7) "type_id" 1 => string(1) "=" 2 => integer 0 ) ) 1 => array(2) ( "name" => string(9) "and_where" "args" => array(3) ( 0 => string(7) "post_ts" 1 => string(2) ">=" 2 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(17) "CURRENT_TIMESTAMP" }
) ) ) protected _db_reset => bool TRUE protected _db_builder => object Database_Query_Builder_Select(19){ protected _select => array(1) ( 0 => array(2) ( 0 => object Database_Expression(2)
protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(17) "calendartypeposts" }{ protected _parameters => array(0) protected _value => string(32) "COUNT(calendartypeposts.post_id)" }
1 => string(13) "records_found" ) ) protected _distinct => bool FALSE protected _from => array(1) ( 0 => array(2) ( 0 => string(22) "vw_calendar_type_posts" 1 => string(17) "calendartypeposts" ) ) protected _join => array(0) protected _group_by => array(0) protected _having => array(0) protected _offset => NULL protected _union => array(0) protected _last_join => NULL protected _where => array(2) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(7) "type_id" 1 => string(1) "=" 2 => integer 0 ) ) 1 => array(1) ( "AND" => array(3) ( 0 => string(7) "post_ts" 1 => string(2) ">=" 2 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(17) "CURRENT_TIMESTAMP" }
) ) ) protected _order_by => array(0) protected _limit => NULL protected _type => integer 1 protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => string(156) "SELECT COUNT(calendartypeposts.post_id) AS records_found FROM vw_calendar_type_posts AS calendartypeposts WHERE type_id = 0 AND …" protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Home(8)
{ public template => object View(2)
{ protected _file => string(39) "/var/www/html/xapp/views/site-index.php" protected _data => array(4) ( "headerMeta" => object View(2)
public headerMeta => object View(2){ protected _file => string(47) "/var/www/html/xapp/views/global/header-meta.php" protected _data => array(1) ( "lib" => string(653) "<link href="/xlib/bootstrap320/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" /> <script src="/xlib/boot …" ) }
"header" => string(0) "" "footer" => object View(2){ protected _file => string(42) "/var/www/html/xapp/views/global/footer.php" protected _data => array(0) }
"content" => object View(2){ protected _file => string(49) "/var/www/html/xapp/views/home/ministries-epic.php" protected _data => array(6) ( "r1" => object View(2)
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "5" 0 => string(1) "5" "name" => string(14) "E.P.I.C > 2015" 1 => string(14) "E.P.I.C > 2015" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:11:21" 4 => string(19) "2018-04-23 06:11:21" "updated_at" => string(19) "2018-04-23 20:00:13" 5 => string(19) "2018-04-23 20:00:13" ) "resource_items" => object PDOStatement(1)
"r2" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "6" 0 => string(1) "6" "name" => string(14) "E.P.I.C > 2016" 1 => string(14) "E.P.I.C > 2016" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:11:54" 4 => string(19) "2018-04-23 06:11:54" "updated_at" => string(19) "2018-04-23 20:11:17" 5 => string(19) "2018-04-23 20:11:17" ) "resource_items" => object PDOStatement(1)
"r3" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "7" 0 => string(1) "7" "name" => string(20) "E.P.I.C > Colossians" 1 => string(20) "E.P.I.C > Colossians" "description" => NULL 2 => NULL "base_s3_path" => string(15) "ministries/epic" 3 => string(15) "ministries/epic" "created_at" => string(19) "2018-04-23 06:12:20" 4 => string(19) "2018-04-23 06:12:20" "updated_at" => string(19) "2018-04-23 20:45:28" 5 => string(19) "2018-04-23 20:45:28" ) "resource_items" => object PDOStatement(1)
"r4" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "8" 0 => string(1) "8" "name" => string(44) "E.P.I.C > Studies In The Book Of Philippians" 1 => string(44) "E.P.I.C > Studies In The Book Of Philippians" "description" => NULL 2 => NULL "base_s3_path" => string(27) "ministries/epic/Philippians" 3 => string(27) "ministries/epic/Philippians" "created_at" => string(19) "2018-04-23 06:13:07" 4 => string(19) "2018-04-23 06:13:07" "updated_at" => string(19) "2018-04-23 20:50:35" 5 => string(19) "2018-04-23 20:50:35" ) "resource_items" => object PDOStatement(1)
"r5" => object View(2){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _file => string(54) "/var/www/html/xapp/views/global/ministry-resources.php" protected _data => array(2) ( "resource" => array(12) ( "id" => string(1) "9" 0 => string(1) "9" "name" => string(19) "E.P.I.C > 1 Timothy" 1 => string(19) "E.P.I.C > 1 Timothy" "description" => NULL 2 => NULL "base_s3_path" => string(24) "ministries/epic/1Timothy" 3 => string(24) "ministries/epic/1Timothy" "created_at" => string(19) "2018-05-25 17:05:15" 4 => string(19) "2018-05-25 17:05:15" "updated_at" => string(19) "2018-05-25 17:05:15" 5 => string(19) "2018-05-25 17:05:15" ) "resource_items" => object PDOStatement(1)
"cal_posts" => object Model_CalendarTypePosts(36){ public queryString => string(86) "select * from ministry_resource_items where ministry_resources_id = :id order by title" }
) }{ protected _table_name => string(22) "vw_calendar_type_posts" protected _primary_key => string(7) "post_id" protected _table_columns => array(10) ( "post_id" => NULL "fk_type_id" => NULL "post_ts" => NULL "post_ts_time" => NULL "post_name" => NULL "post_slug" => NULL "post_details" => NULL "type_id" => NULL "type_name" => NULL "type_slug" => NULL ) public type_id => integer 0 public type_slug => string(0) "" protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "post_id" => NULL "fk_type_id" => NULL "post_ts" => NULL "post_ts_time" => NULL "post_name" => NULL "post_slug" => NULL "post_details" => NULL "type_id" => NULL "type_name" => NULL "type_slug" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(17) "calendartypeposts" protected _object_plural => string(19) "calendartypepostses" protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) }{ protected _identifier => string(0) "" public last_query => NULL protected _instance => string(7) "default" protected _connection => NULL protected _config => array(4) ( "type" => string(3) "PDO" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
protected _db_group => NULL protected _db_applied => array(2) ( "where" => string(5) "where" "and_where" => string(9) "and_where" ) protected _db_pending => array(2) ( 0 => array(2) ( "name" => string(5) "where" "args" => array(3) ( 0 => string(7) "type_id" 1 => string(1) "=" 2 => integer 0 ) ) 1 => array(2) ( "name" => string(9) "and_where" "args" => array(3) ( 0 => string(7) "post_ts" 1 => string(2) ">=" 2 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(17) "CURRENT_TIMESTAMP" }
) ) ) protected _db_reset => bool TRUE protected _db_builder => object Database_Query_Builder_Select(19){ protected _select => array(1) ( 0 => array(2) ( 0 => object Database_Expression(2)
protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(17) "calendartypeposts" }{ protected _parameters => array(0) protected _value => string(32) "COUNT(calendartypeposts.post_id)" }
1 => string(13) "records_found" ) ) protected _distinct => bool FALSE protected _from => array(1) ( 0 => array(2) ( 0 => string(22) "vw_calendar_type_posts" 1 => string(17) "calendartypeposts" ) ) protected _join => array(0) protected _group_by => array(0) protected _having => array(0) protected _offset => NULL protected _union => array(0) protected _last_join => NULL protected _where => array(2) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(7) "type_id" 1 => string(1) "=" 2 => integer 0 ) ) 1 => array(1) ( "AND" => array(3) ( 0 => string(7) "post_ts" 1 => string(2) ">=" 2 => object Database_Expression(2) { ... } ) ) ) protected _order_by => array(0) protected _limit => NULL protected _type => integer 1 protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => string(156) "SELECT COUNT(calendartypeposts.post_id) AS records_found FROM vw_calendar_type_posts AS calendartypeposts WHERE type_id = 0 AND …" protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }{ protected _file => string(47) "/var/www/html/xapp/views/global/header-meta.php" protected _data => array(1) ( "lib" => string(653) "<link href="/xlib/bootstrap320/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" /> <script src="/xlib/boot …" ) }
public header => object View(2){ protected _file => string(42) "/var/www/html/xapp/views/global/header.php" protected _data => array(0) }
public footer => object View(2){ protected _file => string(42) "/var/www/html/xapp/views/global/footer.php" protected _data => array(0) }
private folder => string(4) "home" public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(36) "ministries(/<do>(/<args>(/<param>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(10) "ministries" ) protected _route_regex => string(99) "#^ministries(?:/(?P<do>[^/.,;?\n]++)(?:/(?P<args>[^/.,;?\n]++)(?:/(?P<param>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Home" protected _action => string(10) "ministries" protected _uri => string(15) "ministries/epic" protected _external => bool FALSE protected _params => array(1) ( "do" => string(4) "epic" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "ministries(/<do>(/<args>(/<param>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(10) "ministries" ) protected _route_regex => string(99) "#^ministries(?:/(?P<do>[^/.,;?\n]++)(?:/(?P<args>[^/.,;?\n]++)(?:/(?P<param>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Home" protected _action => string(10) "ministries" protected _uri => string(15) "ministries/epic" protected _external => bool FALSE protected _params => array(1) ( "do" => string(4) "epic" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "ministries(/<do>(/<args>(/<param>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(10) "ministries" ) protected _route_regex => string(99) "#^ministries(?:/(?P<do>[^/.,;?\n]++)(?:/(?P<args>[^/.,;?\n]++)(?:/(?P<param>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Home" protected _action => string(10) "ministries" protected _uri => string(15) "ministries/epic" protected _external => bool FALSE protected _params => array(1) ( "do" => string(4) "epic" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * 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(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }