APPPATH/views/inc/javascript.min/Show_phone_email.php [ 2 ]
1 <script type="text/javascript">
2 $(function(){$(".phone").click(function(){$.ajax({type:"POST",url:"<?= URL::site('exec/phone.do'); ?>",data:"idAgency="+<?= $agency->getIdAgency()?>+"&idProject="+<?= $agency->getIdProject()?>,dataType:"text",async:false}).success(function(c){$(".phone").html(c);$(".phone").removeClass("label-danger");$(".phone").addClass("label-primary");$(".phone").removeClass("viewPhone")});return false});$(".email").click(function(){$.ajax({type:"POST",url:"<?= URL::site('exec/email.do'); ?>",data:"idAgency="+<?= $agency->getIdAgency()?>+"&idProject="+<?= $agency->getIdProject()?>,dataType:"text",async:false}).success(function(c){$(".email").html('<a href="mailto:'+c+'" style="color: white;">'+c+"</a>");$(".email").removeClass("label-danger");$(".email").addClass("label-primary");$(".email").removeClass("viewEmail")});return false})});
3
4 </script>
5
-
APPPATH/views/inc/javascript.min/Show_phone_email.php [ 2 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(26) "Undefined variable: agency"
2
string(85) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript.min/Show_phone_email.php"
3
integer 2
4
array(13) ( "kohana_view_filename" => string(85) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript.min/Show_phone_email.php" "kohana_view_data" => array(0) "towns" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 0 protected _query => string(200) "SELECT s.Subid, s.id, s.Nombre as town, sm.Nombre as province FROM sectores s, sectores sm WHERE s.Subid!=0 AND s.Pais='724' AND …" protected _result => resource(mysql result) protected _total_rows => integer 8277 protected _current_row => integer 0 protected _as_object => bool TRUE protected _object_params => NULL }
"utils" => object Model_Utils(2){ public idCountry => string(3) "724" protected _db => object Database_MySQL(6)
"cookieWantedExists" => bool FALSE "cookieWantedTooltipExists" => bool FALSE "likes" => NULL "property" => object Model_Property(183){ protected _connection_id => string(40) "f1f92e521d959c9ea851c1c824725fc7602ea08e" protected _identifier => string(1) "`" public last_query => string(78) "SELECT Ba_Nombre, ba_m2_cons, ba_m2_ter FROM barrios WHERE Ba_id='786' LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(10) "casatoc_bd" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
}{ private webidPublic => string(5) "59929" private idBank => string(1) "0" private activeFeed => string(1) "0" private address => string(24) "Paseo de la Estación 13" private addressAux => string(11) "7ª planta " private availableFrom => string(0) "" private availableUntil => string(0) "" private category => string(1) "6" private commercial => string(3) "577" private commission => string(4) "0.00" private cp => string(5) "23007" private dataCadastre => string(0) "" private dateEntry => string(16) "19/10/2015 17:54" private dateUpdate => string(16) "29/09/2016 17:41" private dimensionsSwimmingpool => string(0) "" private efficiencyLevel => string(0) "" private efficiencyValue => string(4) "0.00" private emissionsLevel => string(0) "" private emissionsValue => string(4) "0.00" private exclusive => string(1) "0" private groundArea => string(0) "" private highlight => string(1) "1" private homeArea => string(2) "65" private ibi => string(0) "" private id => string(5) "85544" private idFinishing => string(1) "0" private idLuxury => integer 0 private idNeighborhood => string(4) "7192" private idOrientation => integer 0 private idOwner => string(5) "79189" private idProvince => string(2) "23" private idRamp => integer 0 private idTown => string(5) "23050" private idType => integer 3 private idTypeBien => string(1) "3" private idTypePropertyWeb => integer 2 private idTypeZone => string(1) "1" private idUser => string(3) "577" private internalNotes => string(271) "Buenos días ; Adjunto fotos de la oficinas del Ps de la Estación nº13 7ªplanta , oficinas 1 de 64m2 por 390€ y oficina 4 de 91m2 …" private internalRef => string(1) "L" private keys => string(1) "0" private latitud => string(10) "37.7710951" private longitud => string(19) "-3.7886717999999746" private nameCategory => string(8) "Alquiler" private nameFinishing => string(0) "" private nameLuxury => string(0) "" private nameNeighborhood => string(6) "Centro" private nameParking => string(2) "No" private namePromotion => string(0) "" private nameRamp => string(0) "" private nameSwimmingpool => string(2) "No" private nameType => string(5) "Local" private nameTypeBien => string(7) "Oficina" private nameZone => string(13) "Centro Ciudad" private numBath => string(1) "0" private numBedroom => string(1) "0" private numWashroom => string(1) "1" private observationsEN => string(144) "Office for rent, downtown, exterior, bright, great quality, air-conditioned offices, including community and building with conci …" private observationsES => string(165) " Oficina en alquiler, céntrica, exterior, luminosa, grandes calidades, oficinas climatizadas , comunidad incluida y edificio c …" private observationsFR => string(171) "Bureau à louer, centre-ville, extérieur, lumineux, de grande qualité, bureaux climatisées, y compris la communauté et immeuble a …" private orientation => string(0) "" private pathTypeProperty => string(7) "Locales" private picture1 => string(56) "upload-image/files/577/L59929/img-wetix5c-1445271127.jpg" private picture10 => string(0) "" private picture11 => string(0) "" private picture12 => string(0) "" private picture13 => string(0) "" private picture14 => string(0) "" private picture15 => string(0) "" private picture16 => string(0) "" private picture17 => string(0) "" private picture18 => string(0) "" private picture19 => string(0) "" private picture2 => string(56) "upload-image/files/577/L59929/img-XvQovPm-1445271124.jpg" private picture20 => string(0) "" private picture21 => string(0) "" private picture22 => string(0) "" private picture23 => string(0) "" private picture24 => string(0) "" private picture25 => string(0) "" private picture26 => string(0) "" private picture27 => string(0) "" private picture28 => string(0) "" private picture29 => string(0) "" private picture3 => string(56) "upload-image/files/577/L59929/img-SFk7vxc-1445271247.jpg" private picture30 => string(0) "" private picture4 => string(56) "upload-image/files/577/L59929/img-yqnaR5L-1445271288.jpg" private picture5 => string(56) "upload-image/files/577/L59929/img-FDI7gUs-1445271262.jpg" private picture6 => string(56) "upload-image/files/577/L59929/img-QSNeP07-1445271315.jpg" private picture7 => string(0) "" private picture8 => string(0) "" private picture9 => string(0) "" private price => string(3) "390" private priceComunity => string(0) "" private priceOffer => string(3) "390" private priceTime => integer 0 private priceWeb => string(3) "390" private province => string(5) "Jaén" private publishInternet => integer 0 private refCadastre => string(0) "" private signPlaced => string(0) "" private sold => string(1) "3" private table => string(10) "pr_locales" private totalInfo => string(1) "0" private totalShare => string(1) "5" private totalView => integer 3561 private town => string(5) "Jaén" private typeParking => string(1) "0" private typePropertyRef => string(1) "S" private typeSwimmingpool => string(1) "0" private video => string(0) "" private viewCP => string(1) "1" private viewUbication => string(1) "1" private webidAdaix => string(5) "59929" private yearBuild => string(0) "" private accessibility => string(1) "1" private airConditioning => string(1) "1" private alarm => string(1) "0" private doubleGlass => string(1) "0" private elevator => string(1) "1" private furnished => string(1) "0" private gasCity => string(1) "0" private heating => string(1) "0" private internet => string(1) "0" private kitchen => string(1) "0" private laundryRoom => string(1) "0" private patio => string(1) "0" private porch => string(1) "0" private solarEnergy => string(1) "0" private solarHeater => string(1) "0" private storageRoom => string(1) "0" private terrace => string(1) "0" private appliance => integer 0 private balcony => integer 0 private closet => integer 0 private dresser => integer 0 private hearth => integer 0 private pets => integer 0 private suite => integer 0 private videoIntercom => integer 0 private asphalted => integer 0 private buildable => integer 0 private builtUp => integer 0 private light => integer 0 private water => integer 0 private divisible => string(1) "1" private emergencyExit => string(1) "0" private fireAlarm => string(1) "0" private offices => string(1) "1" private safe => string(1) "0" private showcase => string(1) "0" private warehouse => string(1) "0" private parquet => integer 0 private pantry => integer 0 private sportcenter => integer 0 private gasHeating => integer 0 private oilHeating => integer 0 private solarHeating => integer 0 private solarWaterHeating => integer 0 private bus => string(1) "1" private cinema => string(1) "0" private clinic => string(1) "1" private creche => string(1) "1" private gym => string(1) "1" private hospital => string(1) "1" private market => string(1) "0" private parking => string(1) "1" private pharmacy => string(1) "1" private school => string(1) "1" private shoppingCenter => string(1) "0" private theatre => string(1) "0" private train => string(1) "0" private tram => string(1) "1" private underground => string(1) "0" private universities => string(1) "0" private idProject => string(1) "1" private linkMoreProperties => string(73) "local/list/Oficina-en-Alquiler-Jaen_23_23050_6_1_0#0;3;;;;;;3;0;date;DESC" private validated => string(1) "1" private idXML => string(1) "0" private urlXML => string(1) "0" private urlMobileXML => string(1) "0" protected _db => object Database_MySQL(6)
"similarProperties" => NULL "content404" => object Database_MySQL_Result(7){ protected _connection_id => string(40) "f1f92e521d959c9ea851c1c824725fc7602ea08e" protected _identifier => string(1) "`" public last_query => string(78) "SELECT Ba_Nombre, ba_m2_cons, ba_m2_ter FROM barrios WHERE Ba_id='786' LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(10) "casatoc_bd" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
public country => string(3) "724" }{ protected _internal_row => integer 7 protected _query => string(776) "SELECT pr_locales.pr_id, pr_webid, pr_preciooferta, pr_numdormitorios, pr_foto1, cond.Cond_Descripcion as category, pr_nombre as …" protected _result => resource(mysql result) protected _total_rows => integer 7 protected _current_row => integer 7 protected _as_object => bool TRUE protected _object_params => NULL }
"provinces" => object Database_MySQL_Result(7){ protected _internal_row => integer 36 protected _query => string(201) "SELECT DISTINCT Nombre, Id FROM pr_locales, sectores WHERE pr_provincia = Id AND pr_vendida = '0' AND pr_publicareninternet = '1 …" protected _result => resource(mysql result) protected _total_rows => integer 36 protected _current_row => integer 36 protected _as_object => bool TRUE protected _object_params => NULL }
"typeSearch" => string(5) "local" "dataURLFacebook" => array(9) ( "pr_id" => string(5) "85544" "pr_barrio" => string(4) "7192" "idType" => string(1) "3" "typeRef" => string(1) "S" "type" => string(7) "Oficina" "category" => string(8) "Alquiler" "town" => string(5) "Jaén" "pr_preciooferta" => string(3) "390" "pr_numdormitorios" => string(1) "0" ) )1 <script type="text/javascript"> 2 $(function(){$(".phone").click(function(){$.ajax({type:"POST",url:"<?= URL::site('exec/phone.do'); ?>",data:"idAgency="+<?= $agency->getIdAgency()?>+"&idProject="+<?= $agency->getIdProject()?>,dataType:"text",async:false}).success(function(c){$(".phone").html(c);$(".phone").removeClass("label-danger");$(".phone").addClass("label-primary");$(".phone").removeClass("viewPhone")});return false});$(".email").click(function(){$.ajax({type:"POST",url:"<?= URL::site('exec/email.do'); ?>",data:"idAgency="+<?= $agency->getIdAgency()?>+"&idProject="+<?= $agency->getIdProject()?>,dataType:"text",async:false}).success(function(c){$(".email").html('<a href="mailto:'+c+'" style="color: white;">'+c+"</a>");$(".email").removeClass("label-danger");$(".email").addClass("label-primary");$(".email").removeClass("viewEmail")});return false})}); 3 4 </script> 5
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(85) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript.min/Show_phone_email.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(85) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript.min/Show_phone_email.php"
1
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/inc/javascript/Properties.php [ 326 ] » Kohana_View->__toString()
321 322 if ($property->getIdXML() == "0" OR ($property->getActiveFeed() == "1" AND $property->getCommercial() != "0")) { 323 if(Kohana::$environment == Kohana::DEVELOPMENT) 324 echo View::factory('inc/javascript/Show_phone_email'); 325 else 326 echo View::factory('inc/javascript.min/Show_phone_email'); 327 } 328 ?> 329 330 <script type="text/javascript"> 331
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(75) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript/Properties.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(75) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript/Properties.php"
1
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/inc/javascript.php [ 80 ] » Kohana_View->__toString()
75 echo View::factory('inc/javascript/About_linktous'); 76 } 77 } 78 // Controller: Properties 79 elseif(Request::current()->controller() == 'Properties') { 80 echo View::factory('inc/javascript/Properties'); 81 echo View::factory('inc/javascript/Likes_Share'); 82 83 if (Request::current()->action() == 'mylist') 84 echo View::factory('inc/javascript/Properties_mylist'); 85 }
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(64) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript.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(64) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/javascript.php"
1
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/inc/template.php [ 287 ] » Kohana_View->__toString()
282 283 <?= View::factory('mod/template/footer'); ?> 284 285 <? 286 //if(Kohana::$environment == Kohana::DEVELOPMENT) 287 echo View::factory('inc/javascript'); 288 //else 289 // echo View::factory('inc/javascript.min'); 290 ?> 291 292 <? // Scroll to top ?>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(62) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/template.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(62) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/template.php"
1
array(1) ( "content" => string(13) "property/view" )
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_Properties(7)
{ public template => object View(2)
{ protected _file => string(62) "/var/www/vhosts/casatoc.es/httpdocs/app/views/inc/template.php" protected _data => array(1) ( "content" => string(13) "property/view" ) }
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(1) ( 0 => object Closure(1)
protected _routes => array(0) protected _header => object HTTP_Header(0){ public 0 => object Closure(1) { *RECURSION* } }
) protected _uri => string(20) "prop/<action>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "Properties" "action" => string(4) "home" ) protected _route_regex => string(61) "#^prop/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?$#uD" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Properties" protected _action => string(4) "view" protected _uri => string(16) "prop/view/S85544" protected _external => bool FALSE protected _params => array(1) ( "id" => string(6) "S85544" ) 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)
public country => string(3) "724" public provinces => object Model_Provinces(3){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ private idCountry => string(3) "724" private provinces => object Database_MySQL_Result(7)
public session => object Session_Native(5){ protected _internal_row => integer 36 protected _query => string(201) "SELECT DISTINCT Nombre, Id FROM pr_locales, sectores WHERE pr_provincia = Id AND pr_vendida = '0' AND pr_publicareninternet = '1 …" protected _result => resource(mysql result) protected _total_rows => integer 36 protected _current_row => integer 36 protected _as_object => bool TRUE protected _object_params => NULL }
protected _db => object Database_MySQL(6){ protected _connection_id => string(40) "f1f92e521d959c9ea851c1c824725fc7602ea08e" protected _identifier => string(1) "`" public last_query => string(78) "SELECT Ba_Nombre, ba_m2_cons, ba_m2_ter FROM barrios WHERE Ba_id='786' LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(10) "casatoc_bd" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
}{ protected _name => string(7) "casatoc" protected _lifetime => integer 0 protected _encrypted => string(7) "default" protected _data => array(0) protected _destroyed => bool FALSE }
}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(1) ( 0 => object Closure(1)
protected _routes => array(0) protected _header => object HTTP_Header(0){ public 0 => object Closure(1) { *RECURSION* } }
) protected _uri => string(20) "prop/<action>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "Properties" "action" => string(4) "home" ) protected _route_regex => string(61) "#^prop/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?$#uD" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Properties" protected _action => string(4) "view" protected _uri => string(16) "prop/view/S85544" protected _external => bool FALSE protected _params => array(1) ( "id" => string(6) "S85544" ) 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(1) ( 0 => object Closure(1)
protected _routes => array(0) protected _header => object HTTP_Header(0){ public 0 => object Closure(1) { *RECURSION* } }
) protected _uri => string(20) "prop/<action>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "Properties" "action" => string(4) "home" ) protected _route_regex => string(61) "#^prop/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?$#uD" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Properties" protected _action => string(4) "view" protected _uri => string(16) "prop/view/S85544" protected _external => bool FALSE protected _params => array(1) ( "id" => string(6) "S85544" ) 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 [ 119 ] » Kohana_Request->execute()
114 /** 115 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 116 * If no source is specified, the URI will be automatically detected. 117 */ 118 echo Request::factory(TRUE, array(), FALSE) 119 ->execute() 120 ->send_headers(TRUE) 121 ->body(); 122 }