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(80) "SELECT Ba_Nombre, ba_m2_cons, ba_m2_ter FROM barrios WHERE Ba_id='10666' 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) "83266" private idBank => string(1) "0" private activeFeed => string(1) "0" private address => string(15) "ALONSO BARBA, 7" private addressAux => string(0) "" 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) "23009" private dataCadastre => string(0) "" private dateEntry => string(16) "27/05/2014 11:18" private dateUpdate => string(16) "27/05/2014 16:21" private dimensionsSwimmingpool => string(0) "" private efficiencyLevel => string(1) "E" private efficiencyValue => string(4) "0.00" private emissionsLevel => string(0) "" private emissionsValue => string(4) "0.00" private exclusive => string(1) "0" private groundArea => string(1) "0" private highlight => string(1) "0" private homeArea => string(3) "240" private ibi => string(1) "0" private id => string(6) "203540" private idFinishing => string(1) "2" private idLuxury => integer 0 private idNeighborhood => string(1) "0" private idOrientation => string(1) "2" private idOwner => string(5) "54428" private idProvince => string(2) "23" private idRamp => integer 0 private idTown => string(5) "23050" private idType => integer 1 private idTypeBien => string(1) "7" private idTypePropertyWeb => integer 1 private idTypeZone => string(1) "1" private idUser => string(3) "577" private internalNotes => string(27) "PIDE: BUENA NOMINA, DNI...." private internalRef => string(1) "V" private keys => string(1) "0" private latitud => string(10) "37.7781355" private longitud => string(10) "-3.7806833" private nameCategory => string(8) "Alquiler" private nameFinishing => string(9) "Ordinaire" private nameLuxury => string(0) "" private nameNeighborhood => string(0) "" private nameParking => string(2) "Si" private namePromotion => string(0) "" private nameRamp => string(0) "" private nameSwimmingpool => string(2) "No" private nameType => string(8) "Vivienda" private nameTypeBien => string(12) "Casa adosada" private nameZone => string(13) "Centro Ciudad" private numBath => string(1) "2" private numBedroom => string(1) "5" private numWashroom => string(1) "0" private observationsEN => string(159) "Lovely house , 4 storeys high, with 5 bedrooms , fully furnished, large garage with space for a minimum of two vehicles and not …" private observationsES => string(179) "PRECIOSA CASA ADOSADA,DE 4 PLANTAS DE ALTURA, CON 5 DORMITORIOS, COMPLETAMENTE AMUEBLADO, GRAN GARAGE CON ESPACIO PARA MÍNIMO DO …" private observationsFR => string(176) "Belle maison de 4 étages de haut, avec 5 chambres, entièrement meublé , grand garage avec un espace pour un minimum de deux véhi …" private orientation => string(3) "Sud" private pathTypeProperty => string(5) "Casas" private picture1 => string(59) "upload-image/files/577/V83266/img1-27-05-2014_16-21-18.jpeg" private picture10 => string(60) "upload-image/files/577/V83266/img10-27-05-2014_16-21-21.jpeg" private picture11 => string(60) "upload-image/files/577/V83266/img11-27-05-2014_16-21-21.jpeg" private picture12 => string(60) "upload-image/files/577/V83266/img12-27-05-2014_16-21-22.jpeg" private picture13 => NULL private picture14 => NULL private picture15 => NULL private picture16 => NULL private picture17 => NULL private picture18 => NULL private picture19 => NULL private picture2 => string(59) "upload-image/files/577/V83266/img2-27-05-2014_16-21-18.jpeg" private picture20 => NULL private picture21 => NULL private picture22 => NULL private picture23 => NULL private picture24 => NULL private picture25 => NULL private picture26 => NULL private picture27 => NULL private picture28 => NULL private picture29 => NULL private picture3 => string(59) "upload-image/files/577/V83266/img3-27-05-2014_16-21-19.jpeg" private picture30 => NULL private picture4 => string(59) "upload-image/files/577/V83266/img4-27-05-2014_16-21-19.jpeg" private picture5 => string(59) "upload-image/files/577/V83266/img5-27-05-2014_16-21-19.jpeg" private picture6 => string(59) "upload-image/files/577/V83266/img6-27-05-2014_16-21-19.jpeg" private picture7 => string(59) "upload-image/files/577/V83266/img7-27-05-2014_16-21-20.jpeg" private picture8 => string(59) "upload-image/files/577/V83266/img8-27-05-2014_16-21-20.jpeg" private picture9 => string(59) "upload-image/files/577/V83266/img9-27-05-2014_16-21-20.jpeg" private price => string(3) "650" private priceComunity => string(1) "0" private priceOffer => string(3) "650" private priceTime => string(1) "1" private priceWeb => string(3) "650" 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(11) "pr_vivienda" private totalInfo => string(1) "1" private totalShare => string(1) "2" private totalView => integer 1267 private town => string(5) "Jaén" private typeParking => string(1) "1" private typePropertyRef => string(1) "P" private typeSwimmingpool => string(1) "0" private video => NULL private viewCP => string(1) "0" private viewUbication => string(1) "0" private webidAdaix => string(5) "83266" 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) "0" private furnished => string(1) "1" private gasCity => string(1) "0" private heating => string(1) "1" private internet => string(1) "0" private kitchen => string(1) "1" private laundryRoom => string(1) "1" private patio => string(1) "0" private porch => string(1) "1" private solarEnergy => string(1) "0" private solarHeater => string(1) "0" private storageRoom => string(1) "1" private terrace => string(1) "1" private appliance => string(1) "1" private balcony => string(1) "1" private closet => string(1) "1" private dresser => string(1) "0" private hearth => string(1) "0" private pets => string(1) "0" private suite => string(1) "0" private videoIntercom => string(1) "0" private asphalted => integer 0 private buildable => integer 0 private builtUp => integer 0 private light => integer 0 private water => integer 0 private divisible => integer 0 private emergencyExit => integer 0 private fireAlarm => integer 0 private offices => integer 0 private safe => integer 0 private showcase => integer 0 private warehouse => integer 0 private parquet => string(1) "0" private pantry => string(1) "0" private sportcenter => string(1) "0" private gasHeating => string(1) "0" private oilHeating => string(1) "0" private solarHeating => string(1) "0" private solarWaterHeating => string(1) "0" private bus => string(1) "1" private cinema => string(1) "1" private clinic => string(1) "1" private creche => string(1) "1" private gym => string(1) "1" private hospital => string(1) "1" private market => string(1) "1" private parking => string(1) "1" private pharmacy => string(1) "1" private school => string(1) "1" private shoppingCenter => string(1) "1" private theatre => string(1) "1" private train => string(1) "1" private tram => string(1) "0" private underground => string(1) "0" private universities => string(1) "1" private idProject => string(1) "1" private linkMoreProperties => string(87) "house/list/Casa-adosada-en-Alquiler-Jaen_23_23050_6_1_0#0;5;;;;;;7,12,13,17;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(80) "SELECT Ba_Nombre, ba_m2_cons, ba_m2_ter FROM barrios WHERE Ba_id='10666' 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(1941) "SELECT pr_id, pr_webid, pr_preciooferta, pr_numdormitorios, pr_foto1, category, type, idType, province, town, typeLuxury, typeRe …" 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 51 protected _query => string(202) "SELECT DISTINCT Nombre, Id FROM pr_vivienda, sectores WHERE pr_provincia = Id AND pr_vendida = '0' AND pr_publicareninternet = ' …" protected _result => resource(mysql result) protected _total_rows => integer 51 protected _current_row => integer 51 protected _as_object => bool TRUE protected _object_params => NULL }
"typeSearch" => string(5) "house" "dataURLFacebook" => array(9) ( "pr_id" => string(6) "203540" "pr_barrio" => string(1) "0" "idType" => string(1) "7" "typeRef" => string(1) "P" "type" => string(12) "Casa adosada" "category" => string(8) "Alquiler" "town" => string(5) "Jaén" "pr_preciooferta" => string(3) "650" "pr_numdormitorios" => string(1) "5" ) )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(17) "prop/view/P203540" protected _external => bool FALSE protected _params => array(1) ( "id" => string(7) "P203540" ) 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 51 protected _query => string(202) "SELECT DISTINCT Nombre, Id FROM pr_vivienda, sectores WHERE pr_provincia = Id AND pr_vendida = '0' AND pr_publicareninternet = ' …" protected _result => resource(mysql result) protected _total_rows => integer 51 protected _current_row => integer 51 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(80) "SELECT Ba_Nombre, ba_m2_cons, ba_m2_ter FROM barrios WHERE Ba_id='10666' 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(17) "prop/view/P203540" protected _external => bool FALSE protected _params => array(1) ( "id" => string(7) "P203540" ) 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(17) "prop/view/P203540" protected _external => bool FALSE protected _params => array(1) ( "id" => string(7) "P203540" ) 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 }