APPPATH/classes/controller/main.php [ 113 ]
108
109 $active_condition = $check_active ? ! $this->$object->active : FALSE;
110
111 if ( ! $this->$object->loaded() || $active_condition)
112 {
113 throw new HTTP_Exception_404(ucfirst($object) . " :object does not exist!", array(
114 ':object' => $slug
115 ));
116 }
117
118 if ($slug !== $this->$object->slug)
-
APPPATH/classes/controller/office.php [ 22 ] » Controller_Main->set_object_from_url(arguments)
0
string(6) "office"
17 18 public function before() 19 { 20 parent::before(); 21 22 $this->set_object_from_url('office'); 23 24 if ($this->office->loaded) 25 $this->session->set('last_viewed_office', $this->office->id); 26 } 27
-
{PHP internal call} » Controller_Office->before()
-
SYSPATH/classes/kohana/request/client/internal.php [ 103 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Office(22)
{ public office => object Model_Office(12)
{ public admin_validation => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _is_saving => bool FALSE protected _deleted => bool FALSE protected _original => array(32) ( "id" => NULL "name" => NULL "transport_info" => NULL "legal_costs" => NULL "description" => NULL "tagline" => NULL "building_id" => NULL "area" => NULL "floor_unit" => string(0) "" "floors_total" => NULL "furnished" => bool FALSE "let_flag" => bool FALSE "featured" => bool FALSE "lease_type" => string(7) "pending" "address" => string(0) "" "street" => string(0) "" "latitude" => NULL "longitude" => NULL "rent_year" => NULL "rent_month" => NULL "rent_sqft_year" => NULL "rent_sqft_month" => NULL "service_charge" => NULL "business_rates" => NULL "floorplans_link" => NULL "floorplans_file" => NULL "video_file" => NULL "image" => NULL "available_from" => NULL "created_at" => NULL "slug" => string(0) "" "agency_id" => NULL ) protected _changed => array(0) protected _retrieved => array(0) protected _unmapped => array(0) protected _is_validating => bool FALSE protected _meta => object Jam_Meta(21)
public template => object View(2){ protected _initialized => bool TRUE protected _model => string(6) "office" protected _db => NULL protected _table => string(7) "offices" protected _primary_key => string(2) "id" protected _name_key => string(4) "name" protected _foreign_key => string(9) "office_id" protected _polymorphic_key => NULL protected _children => array(0) protected _sorting => array(0) protected _fields => array(32) ( "id" => object Jam_Field_Primary(13)
protected _errors => bool FALSE }{ public primary => bool TRUE public allow_null => bool TRUE public default => NULL public model => string(6) "office" public column => string(2) "id" public label => string(2) "id" public name => string(2) "id" public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"name" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(4) "name" public label => string(4) "name" public name => string(4) "name" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"transport_info" => object Jam_Field_Text(13){ public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(14) "transport_info" public label => string(14) "transport info" public name => string(14) "transport_info" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"legal_costs" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(11) "legal_costs" public label => string(11) "legal costs" public name => string(11) "legal_costs" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"description" => object Jam_Field_Text(13){ public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(11) "description" public label => string(11) "description" public name => string(11) "description" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"tagline" => object Jam_Field_Text(13){ public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(7) "tagline" public label => string(7) "tagline" public name => string(7) "tagline" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"building_id" => object Jam_Field_Integer(13){ public default => NULL public model => string(6) "office" public column => string(11) "building_id" public label => string(11) "building id" public name => string(11) "building_id" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"area" => object Jam_Field_Float(14){ public default => NULL public places => NULL public model => string(6) "office" public column => string(4) "area" public label => string(4) "area" public name => string(4) "area" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"floor_unit" => object Jam_Field_String(13){ public default => string(0) "" public allow_null => bool FALSE public model => string(6) "office" public column => string(10) "floor_unit" public label => string(10) "floor unit" public name => string(10) "floor_unit" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"floors_total" => object Jam_Field_Integer(13){ public default => NULL public model => string(6) "office" public column => string(12) "floors_total" public label => string(12) "floors total" public name => string(12) "floors_total" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"furnished" => object Jam_Field_Boolean(15){ public true => integer 1 public false => integer 0 public allow_null => bool FALSE public default => bool FALSE public model => string(6) "office" public column => string(9) "furnished" public label => string(9) "furnished" public name => string(9) "furnished" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"let_flag" => object Jam_Field_Boolean(15){ public true => integer 1 public false => integer 0 public allow_null => bool FALSE public default => bool FALSE public model => string(6) "office" public column => string(8) "let_flag" public label => string(8) "let flag" public name => string(8) "let_flag" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"featured" => object Jam_Field_Boolean(15){ public true => integer 1 public false => integer 0 public allow_null => bool FALSE public default => bool FALSE public model => string(6) "office" public column => string(8) "featured" public label => string(8) "featured" public name => string(8) "featured" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"lease_type" => object Jam_Field_String(13){ public default => string(7) "pending" public allow_null => bool TRUE public model => string(6) "office" public column => string(10) "lease_type" public label => string(10) "lease type" public name => string(10) "lease_type" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"address" => object Jam_Field_String(13){ public default => string(0) "" public allow_null => bool FALSE public model => string(6) "office" public column => string(7) "address" public label => string(7) "address" public name => string(7) "address" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"street" => object Jam_Field_String(13){ public default => string(0) "" public allow_null => bool FALSE public model => string(6) "office" public column => string(6) "street" public label => string(6) "street" public name => string(6) "street" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"latitude" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(8) "latitude" public label => string(8) "latitude" public name => string(8) "latitude" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"longitude" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(9) "longitude" public label => string(9) "longitude" public name => string(9) "longitude" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"rent_year" => object Jam_Field_Float(14){ public default => NULL public places => NULL public model => string(6) "office" public column => string(9) "rent_year" public label => string(9) "rent year" public name => string(9) "rent_year" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"rent_month" => object Jam_Field_Float(14){ public default => NULL public places => NULL public model => string(6) "office" public column => string(10) "rent_month" public label => string(10) "rent month" public name => string(10) "rent_month" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"rent_sqft_year" => object Jam_Field_Float(14){ public default => NULL public places => NULL public model => string(6) "office" public column => string(14) "rent_sqft_year" public label => string(14) "rent sqft year" public name => string(14) "rent_sqft_year" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"rent_sqft_month" => object Jam_Field_Float(14){ public default => NULL public places => NULL public model => string(6) "office" public column => string(15) "rent_sqft_month" public label => string(15) "rent sqft month" public name => string(15) "rent_sqft_month" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"service_charge" => object Jam_Field_Float(14){ public default => NULL public places => NULL public model => string(6) "office" public column => string(14) "service_charge" public label => string(14) "service charge" public name => string(14) "service_charge" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"business_rates" => object Jam_Field_Float(14){ public default => NULL public places => NULL public model => string(6) "office" public column => string(14) "business_rates" public label => string(14) "business rates" public name => string(14) "business_rates" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"floorplans_link" => object Jam_Field_Weblink(14){ public rules => array(1) ( 0 => array(1) ( 0 => string(10) "Valid::url" ) ) public default => NULL public allow_null => bool TRUE public model => string(6) "office" public column => string(15) "floorplans_link" public label => string(15) "floorplans link" public name => string(15) "floorplans_link" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"floorplans_file" => object Jam_Field_Upload(20){ public delete_file => bool TRUE public save_size => bool FALSE public server => string(5) "local" public path => string(21) ":model/:id/floorplans" public transformations => array(0) public dynamic_server => NULL public thumbnails => array(0) public model => string(6) "office" public column => string(15) "floorplans_file" public label => string(15) "floorplans file" public name => string(15) "floorplans_file" public primary => bool FALSE public in_db => bool TRUE public default => NULL public convert_empty => bool FALSE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"video_file" => object Jam_Field_Upload(20){ public delete_file => bool TRUE public save_size => bool FALSE public server => string(5) "local" public path => string(16) ":model/:id/video" public transformations => array(0) public dynamic_server => NULL public thumbnails => array(0) public model => string(6) "office" public column => string(10) "video_file" public label => string(10) "video file" public name => string(10) "video_file" public primary => bool FALSE public in_db => bool TRUE public default => NULL public convert_empty => bool FALSE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"image" => object Jam_Field_Upload(20){ public delete_file => bool TRUE public save_size => bool FALSE public server => string(5) "local" public path => string(17) ":model/:id/avatar" public transformations => array(0) public dynamic_server => NULL public thumbnails => array(3) ( "small" => array(1) ( "transformations" => array(2) ( "resize" => array(3) ( 0 => integer 115 1 => integer 80 2 => integer 5 ) "crop" => array(2) ( 0 => integer 115 1 => integer 80 ) ) ) "medium" => array(1) ( "transformations" => array(2) ( "resize" => array(3) ( 0 => integer 235 1 => integer 168 2 => integer 5 ) "crop" => array(2) ( 0 => integer 235 1 => integer 168 ) ) ) "big" => array(1) ( "transformations" => array(2) ( "resize" => array(3) ( 0 => integer 315 1 => integer 220 2 => integer 5 ) "crop" => array(2) ( 0 => integer 315 1 => integer 220 ) ) ) ) public model => string(6) "office" public column => string(5) "image" public label => string(5) "image" public name => string(5) "image" public primary => bool FALSE public in_db => bool TRUE public default => NULL public convert_empty => bool FALSE public empty_value => NULL public allow_null => bool FALSE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"available_from" => object Jam_Field_Timestamp(17){ public default => NULL public auto_now_create => bool FALSE public auto_now_update => bool FALSE public format => string(11) "Y-m-d H:i:s" public timezone => object Jam_Timezone(3)
"created_at" => object Jam_Field_Timestamp(17){ protected _user_timezone => NULL protected _master_timezone => NULL protected _default_timezone => NULL }
public model => string(6) "office" public column => string(14) "available_from" public label => string(14) "available from" public name => string(14) "available_from" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }{ public default => NULL public auto_now_create => bool TRUE public auto_now_update => bool FALSE public format => string(11) "Y-m-d H:i:s" public timezone => object Jam_Timezone(3)
"slug" => object Jam_Field_Slug(17){ protected _user_timezone => NULL protected _master_timezone => NULL protected _default_timezone => NULL }
public model => string(6) "office" public column => string(10) "created_at" public label => string(10) "created at" public name => string(10) "created_at" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }{ public ascii_only => bool TRUE public separator => string(1) "-" public hierarchy_separator => NULL public default => string(0) "" public allow_null => bool FALSE public model => string(6) "office" public column => string(4) "slug" public label => string(4) "slug" public name => string(4) "slug" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) public unique => bool TRUE }
"agency_id" => object Jam_Field_Integer(13){ public default => NULL public model => string(6) "office" public column => string(9) "agency_id" public label => string(9) "agency id" public name => string(9) "agency_id" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
) protected _associations => array(7) ( "building" => object Jam_Association_BelongsTo(20){ public polymorphic => bool FALSE public polymorphic_default_model => NULL public column => string(11) "building_id" public default => NULL public allow_null => bool TRUE public convert_empty => bool TRUE public foreign => array(2) ( "model" => string(8) "building" "field" => string(12) ":primary_key" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(6) "office" public label => string(8) "building" public name => string(8) "building" protected _events => NULL protected _extensions => array(0) public as => string(5) "model" public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"users" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(10) "favourites" "fields" => array(2) ( "our" => string(9) "office_id" "foreign" => string(7) "user_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(4) "user" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(6) "office" public label => string(5) "users" public name => string(5) "users" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"views" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(11) "office_view" "fields" => array(2) ( "our" => string(9) "office_id" "foreign" => string(7) "user_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(4) "user" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(6) "office" public label => string(5) "views" public name => string(5) "views" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"images" => object Jam_Association_HasMany(17){ }
) }{ public as => string(5) "model" public foreign_default => integer 0 public count_cache => NULL public through => NULL public foreign => array(3) ( "model" => string(5) "image" "field" => string(8) "model_id" "as" => string(11) "model_model" ) public inverse_of => NULL public conditions => NULL public dependent => string(6) "delete" public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(6) "office" public label => string(6) "images" public name => string(6) "images" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"favourites" => object Jam_Association_HasMany(17){ }
) }{ public as => NULL public foreign_default => integer 0 public count_cache => NULL public through => NULL public foreign => array(2) ( "model" => string(9) "favourite" "field" => string(9) "office_id" ) public inverse_of => NULL public conditions => NULL public dependent => string(6) "delete" public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(6) "office" public label => string(10) "favourites" public name => string(10) "favourites" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"agency" => object Jam_Association_BelongsTo(19){ }
) }{ public polymorphic => bool FALSE public polymorphic_default_model => NULL public column => string(9) "agency_id" public default => NULL public allow_null => bool TRUE public convert_empty => bool TRUE public foreign => array(2) ( "model" => string(6) "agency" "field" => string(12) ":primary_key" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(6) "office" public label => string(6) "agency" public name => string(6) "agency" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"users_alerts" => object Jam_Association_HasMany(17){ }
) }{ public as => NULL public foreign_default => integer 0 public count_cache => NULL public through => NULL public foreign => array(2) ( "model" => string(11) "users_alert" "field" => string(9) "office_id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(6) "office" public label => string(12) "users alerts" public name => string(12) "users_alerts" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
) protected _builder => string(20) "Model_builder_office" protected _errors_filename => string(17) "validators/office" protected _columns => array(0) protected _defaults => array(32) ( "id" => NULL "name" => NULL "transport_info" => NULL "legal_costs" => NULL "description" => NULL "tagline" => NULL "building_id" => NULL "area" => NULL "floor_unit" => string(0) "" "floors_total" => NULL "furnished" => bool FALSE "let_flag" => bool FALSE "featured" => bool FALSE "lease_type" => string(7) "pending" "address" => string(0) "" "street" => string(0) "" "latitude" => NULL "longitude" => NULL "rent_year" => NULL "rent_month" => NULL "rent_sqft_year" => NULL "rent_sqft_month" => NULL "service_charge" => NULL "business_rates" => NULL "floorplans_link" => NULL "floorplans_file" => NULL "video_file" => NULL "image" => NULL "available_from" => NULL "created_at" => NULL "slug" => string(0) "" "agency_id" => NULL ) protected _events => object Jam_Event(2){ }
) }{ protected _model => string(6) "office" protected _events => array(7) ( "model.after_save" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_Sluggable(7)
protected _behaviors => array(2) ( "sluggable" => object Jam_Behavior_Sluggable(7){ protected _slug => string(49) "Jam_Behavior_Sluggable::_uses_primary_key_pattern" protected _pattern => string(32) "/^([a-z0-9-]+?-)?([1-9][0-9]*)$/" protected _uses_primary_key => bool TRUE protected _auto_save => bool TRUE protected _unique => bool TRUE protected _model => string(6) "office" protected _name => string(9) "sluggable" }
1 => string(16) "model_after_save" ) ) "model.call_build_slug" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_Sluggable(7){ protected _slug => string(49) "Jam_Behavior_Sluggable::_uses_primary_key_pattern" protected _pattern => string(32) "/^([a-z0-9-]+?-)?([1-9][0-9]*)$/" protected _uses_primary_key => bool TRUE protected _auto_save => bool TRUE protected _unique => bool TRUE protected _model => string(6) "office" protected _name => string(9) "sluggable" }
1 => string(21) "model_call_build_slug" ) ) "builder.call_where_slug" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_Sluggable(7){ protected _slug => string(49) "Jam_Behavior_Sluggable::_uses_primary_key_pattern" protected _pattern => string(32) "/^([a-z0-9-]+?-)?([1-9][0-9]*)$/" protected _uses_primary_key => bool TRUE protected _auto_save => bool TRUE protected _unique => bool TRUE protected _model => string(6) "office" protected _name => string(9) "sluggable" }
1 => string(23) "builder_call_where_slug" ) ) "builder.call_find_by_slug" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_Sluggable(7){ protected _slug => string(49) "Jam_Behavior_Sluggable::_uses_primary_key_pattern" protected _pattern => string(32) "/^([a-z0-9-]+?-)?([1-9][0-9]*)$/" protected _uses_primary_key => bool TRUE protected _auto_save => bool TRUE protected _unique => bool TRUE protected _model => string(6) "office" protected _name => string(9) "sluggable" }
1 => string(25) "builder_call_find_by_slug" ) ) "builder.call_find_by_slug_insist" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_Sluggable(7){ protected _slug => string(49) "Jam_Behavior_Sluggable::_uses_primary_key_pattern" protected _pattern => string(32) "/^([a-z0-9-]+?-)?([1-9][0-9]*)$/" protected _uses_primary_key => bool TRUE protected _auto_save => bool TRUE protected _unique => bool TRUE protected _model => string(6) "office" protected _name => string(9) "sluggable" }
1 => string(32) "builder_call_find_by_slug_insist" ) ) "model.before_save" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_Office(2){ protected _model => string(6) "office" protected _name => integer 0 }
1 => string(17) "model_before_save" ) ) "model.before_create" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_Office(2){ protected _model => string(6) "office" protected _name => integer 0 }
1 => string(19) "model_before_create" ) ) ) }{ protected _slug => string(49) "Jam_Behavior_Sluggable::_uses_primary_key_pattern" protected _pattern => string(32) "/^([a-z0-9-]+?-)?([1-9][0-9]*)$/" protected _uses_primary_key => bool TRUE protected _auto_save => bool TRUE protected _unique => bool TRUE protected _model => string(6) "office" protected _name => string(9) "sluggable" }
0 => object Jam_Behavior_Office(2){ protected _model => string(6) "office" protected _name => integer 0 }
) protected _parent => NULL protected _validators => array(11) ( 0 => object Jam_Validator(4){ public attributes => array(1) ( 0 => string(4) "name" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
1 => object Jam_Validator(4){ public allow_null => bool FALSE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(4) "area" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
2 => object Jam_Validator(4){ public allow_null => bool FALSE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(9) "agency_id" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
3 => object Jam_Validator(4){ public allow_null => bool FALSE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(15) "rent_sqrt_month" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Numeric(10)
4 => object Jam_Validator(4){ public greater_than_or_equal_to => NULL public greater_than => NULL public equal_to => NULL public less_than => NULL public less_than_or_equal_to => NULL public between => NULL public odd => NULL public even => NULL public only_integer => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(14) "rent_sqrt_year" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Numeric(10)
5 => object Jam_Validator(4){ public greater_than_or_equal_to => NULL public greater_than => NULL public equal_to => NULL public less_than => NULL public less_than_or_equal_to => NULL public between => NULL public odd => NULL public even => NULL public only_integer => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(14) "service_charge" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Numeric(10)
6 => object Jam_Validator(4){ public greater_than_or_equal_to => NULL public greater_than => NULL public equal_to => NULL public less_than => NULL public less_than_or_equal_to => NULL public between => NULL public odd => NULL public even => NULL public only_integer => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(14) "business_rates" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Numeric(10)
7 => object Jam_Validator(4){ public greater_than_or_equal_to => NULL public greater_than => NULL public equal_to => NULL public less_than => NULL public less_than_or_equal_to => NULL public between => NULL public odd => NULL public even => NULL public only_integer => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(5) "image" ) public rules => array(2) ( 0 => object Jam_Validator_Rule_Uploaded(10)
8 => object Jam_Validator(4){ public only => array(4) ( 0 => string(3) "jpg" 1 => string(4) "jpeg" 2 => string(3) "png" 3 => string(3) "gif" ) public minimum_width => integer 115 public minimum_height => integer 115 public minimum_size => NULL public maximum_width => NULL public maximum_height => NULL public maximum_size => string(3) "20M" public exact_width => NULL public exact_height => NULL public allow_null => bool TRUE }
1 => object Jam_Validator_Rule_Present(1){ public allow_null => bool FALSE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(10) "video_file" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Uploaded(10)
9 => object Jam_Validator(4){ public only => array(2) ( 0 => string(3) "mp4" 1 => string(3) "ogg" ) public minimum_width => NULL public minimum_height => NULL public minimum_size => NULL public maximum_width => NULL public maximum_height => NULL public maximum_size => NULL public exact_width => NULL public exact_height => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(15) "floorplans_file" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Uploaded(10)
10 => object Jam_Validator(4){ public only => array(1) ( 0 => string(3) "pdf" ) public minimum_width => NULL public minimum_height => NULL public minimum_size => NULL public maximum_width => NULL public maximum_height => NULL public maximum_size => string(3) "20M" public exact_width => NULL public exact_height => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(4) "name" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
) protected _with_options => NULL }{ public allow_null => bool FALSE }
) public condition => string(16) "admin_validation" public condition_negative => bool FALSE }{ protected _file => string(65) "/home/deploy/openoffices/openoffices/application/views/layout.php" protected _data => array(0) }
public directory => string(0) "" public view => string(0) "" public vars => array(0) protected user => object Model_User(13){ public admin_validation => bool TRUE public validate_password => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _is_saving => bool FALSE protected _deleted => bool FALSE protected _original => array(13) ( "id" => NULL "fullname" => NULL "email" => NULL "password" => NULL "howhear" => NULL "bulletin" => NULL "logins" => integer 0 "last_login" => NULL "confirmed" => bool FALSE "facebook_uid" => NULL "twitter_uid" => NULL "linkedin_uid" => NULL "last_login_ip" => NULL ) protected _changed => array(0) protected _retrieved => array(0) protected _unmapped => array(0) protected _is_validating => bool FALSE protected _meta => object Jam_Meta(21)
protected user_check => bool FALSE protected title => bool FALSE public scripts => array(0) public inline_scripts => array(0) public head_scripts => array(0) public styles => array(0) public meta => array(0) protected auth => object Auth_Jam(3){ protected _initialized => bool TRUE protected _model => string(4) "user" protected _db => NULL protected _table => string(5) "users" protected _primary_key => string(2) "id" protected _name_key => string(5) "email" protected _foreign_key => string(7) "user_id" protected _polymorphic_key => NULL protected _children => array(0) protected _sorting => array(0) protected _fields => array(13) ( "id" => object Jam_Field_Primary(13)
protected _errors => bool FALSE }{ public primary => bool TRUE public allow_null => bool TRUE public default => NULL public model => string(4) "user" public column => string(2) "id" public label => string(2) "id" public name => string(2) "id" public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"fullname" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(8) "fullname" public label => string(8) "fullname" public name => string(8) "fullname" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"email" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(5) "email" public label => string(13) "email address" public name => string(5) "email" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"password" => object Jam_Field_Password(14){ public hash_with => array(2) ( 0 => object Auth_Jam(3)
"howhear" => object Jam_Field_String(13){ protected _services => array(3) ( "facebook" => object Auth_Service_Facebook(8)
1 => string(4) "hash" ) public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(8) "password" public label => string(8) "password" public name => string(8) "password" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }{ protected _service_field => string(12) "facebook_uid" protected _type => string(8) "facebook" protected _api => NULL protected _enabled => bool TRUE protected _config => array(5) ( "enabled" => bool TRUE "auto_login" => bool FALSE "create_user" => bool TRUE "auth" => array(2) ( ... ) "back_url" => string(8) "fb_login" ) protected _login_role => NULL protected _user_model => string(4) "user" protected _role_model => string(4) "role" }
"twitter" => object Auth_Service_Twitter(12){ protected _service_field => string(11) "twitter_uid" protected _type => string(7) "twitter" private session => object Session_Native(5)
"linkedin" => object Auth_Service_Linkedin(10){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
private _consumer_key => string(21) "vOugBO4YjIwPTAXcDRgIg" private _consumer_secret => string(42) "IzHuZ9y3vEMQTn4FtYt4170dJ1yPgjB271VpJEjnBA" private token_credentials => NULL protected _api => NULL protected _enabled => bool TRUE protected _config => array(3) ( "enabled" => bool TRUE "auth" => array(5) ( ... ) "create_user" => bool TRUE ) protected _login_role => NULL protected _user_model => string(4) "user" protected _role_model => string(4) "role" }{ protected _service_field => string(12) "linkedin_uid" protected _type => string(8) "linkedin" public session => object Session_Native(5)
) protected _session => object Session_Native(5){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected user_data => NULL protected _api => NULL protected _enabled => bool TRUE protected _config => array(7) ( "enabled" => bool TRUE "create_user" => bool TRUE "update_user" => bool TRUE "back_url" => string(37) "http://openoffices.com/linkedin_login" "api_key" => string(12) "a9kczjc4l1bp" "api_secret" => string(16) "iwCQxecayt7HglM6" "scope" => string(28) "r_fullprofile r_emailaddress" ) protected _login_role => NULL protected _user_model => string(4) "user" protected _role_model => string(4) "role" }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected _config => object Config_Group(8){ public services => array(3) ( "facebook" => array(5) ( "enabled" => bool TRUE "auto_login" => bool FALSE "create_user" => bool TRUE "auth" => array(2) ( ... ) "back_url" => string(8) "fb_login" ) "twitter" => array(3) ( "enabled" => bool TRUE "auth" => array(5) ( ... ) "create_user" => bool TRUE ) "linkedin" => array(7) ( "enabled" => bool TRUE "create_user" => bool TRUE "update_user" => bool TRUE "back_url" => string(37) "http://openoffices.com/linkedin_login" "api_key" => string(12) "a9kczjc4l1bp" "api_secret" => string(16) "iwCQxecayt7HglM6" "scope" => string(28) "r_fullprofile r_emailaddress" ) ) public driver => string(3) "jam" public hash_method => string(3) "md5" public hash_key => string(19) "babamecashtetekleca" public lifetime => integer 7200 public session_type => string(6) "native" public session_key => string(9) "auth_user" public users => array(0) }
}{ public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(7) "howhear" public label => string(7) "howhear" public name => string(7) "howhear" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"bulletin" => object Jam_Field_Integer(14){ public default => NULL public model => string(4) "user" public column => string(8) "bulletin" public label => string(8) "bulletin" public name => string(8) "bulletin" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) public 0 => array(3) ( "default" => integer 1 "convert_empty" => bool TRUE "empty_value" => integer 1 ) }
"logins" => object Jam_Field_Integer(13){ public default => integer 0 public model => string(4) "user" public column => string(6) "logins" public label => string(6) "logins" public name => string(6) "logins" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => integer 0 public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"last_login" => object Jam_Field_Timestamp(17){ public default => NULL public auto_now_create => bool FALSE public auto_now_update => bool FALSE public format => string(11) "Y-m-d H:i:s" public timezone => object Jam_Timezone(3)
"confirmed" => object Jam_Field_Boolean(15){ protected _user_timezone => NULL protected _master_timezone => NULL protected _default_timezone => NULL }
public model => string(4) "user" public column => string(10) "last_login" public label => string(10) "last login" public name => string(10) "last_login" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public allow_null => bool TRUE public filters => array(0) protected _events => NULL protected _extensions => array(0) }{ public true => integer 1 public false => integer 0 public allow_null => bool FALSE public default => bool FALSE public model => string(4) "user" public column => string(9) "confirmed" public label => string(9) "confirmed" public name => string(9) "confirmed" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool FALSE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"facebook_uid" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(12) "facebook_uid" public label => string(12) "facebook uid" public name => string(12) "facebook_uid" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"twitter_uid" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(11) "twitter_uid" public label => string(11) "twitter uid" public name => string(11) "twitter_uid" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"linkedin_uid" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(12) "linkedin_uid" public label => string(12) "linkedin uid" public name => string(12) "linkedin_uid" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
"last_login_ip" => object Jam_Field_String(13){ public default => NULL public allow_null => bool TRUE public model => string(4) "user" public column => string(13) "last_login_ip" public label => string(16) "Last logged from" public name => string(13) "last_login_ip" public primary => bool FALSE public in_db => bool TRUE public convert_empty => bool TRUE public empty_value => NULL public filters => array(0) protected _events => NULL protected _extensions => array(0) }
) protected _associations => array(8) ( "user_tokens" => object Jam_Association_HasMany(17){ public as => NULL public foreign_default => integer 0 public count_cache => NULL public through => NULL public foreign => array(2) ( "model" => string(10) "user_token" "field" => string(7) "user_id" ) public inverse_of => NULL public conditions => NULL public dependent => string(6) "delete" public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(11) "user tokens" public name => string(11) "user_tokens" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"roles" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(11) "roles_users" "fields" => array(2) ( "our" => string(7) "user_id" "foreign" => string(7) "role_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(4) "role" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(5) "roles" public name => string(5) "roles" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"cities" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(12) "users_cities" "fields" => array(2) ( "our" => string(7) "user_id" "foreign" => string(7) "city_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(4) "city" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(6) "cities" public name => string(6) "cities" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"countries" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(15) "users_countries" "fields" => array(2) ( "our" => string(7) "user_id" "foreign" => string(10) "country_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(7) "country" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(9) "countries" public name => string(9) "countries" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"favourites" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(9) "favourite" "fields" => array(2) ( "our" => string(7) "user_id" "foreign" => string(9) "office_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(6) "office" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(10) "favourites" public name => string(10) "favourites" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"views" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(11) "office_view" "fields" => array(2) ( "our" => string(7) "user_id" "foreign" => string(9) "office_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(6) "office" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(5) "views" public name => string(5) "views" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"agencies" => object Jam_Association_ManyToMany(15){ }
) }{ public through => array(2) ( "model" => string(14) "agencies_users" "fields" => array(2) ( "our" => string(7) "user_id" "foreign" => string(9) "agency_id" ) ) public through_dependent => bool TRUE public foreign => array(2) ( "model" => string(6) "agency" "field" => string(2) "id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(8) "agencies" public name => string(8) "agencies" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
"user_alerts" => object Jam_Association_HasMany(17){ }
) }{ public as => NULL public foreign_default => integer 0 public count_cache => NULL public through => NULL public foreign => array(2) ( "model" => string(10) "user_alert" "field" => string(7) "user_id" ) public inverse_of => NULL public conditions => NULL public dependent => bool FALSE public extend => NULL public required => bool FALSE public touch => bool FALSE public model => string(4) "user" public label => string(11) "user alerts" public name => string(11) "user_alerts" protected _events => NULL protected _extensions => array(0) public extensions => array(1) ( "general" => object Jam_Extension_General(0)
) protected _builder => string(18) "Model_builder_user" protected _errors_filename => string(8) "jam/user" protected _columns => array(0) protected _defaults => array(13) ( "id" => NULL "fullname" => NULL "email" => NULL "password" => NULL "howhear" => NULL "bulletin" => NULL "logins" => integer 0 "last_login" => NULL "confirmed" => bool FALSE "facebook_uid" => NULL "twitter_uid" => NULL "linkedin_uid" => NULL "last_login_ip" => NULL ) protected _events => object Jam_Event(2){ }
) }{ protected _model => string(4) "user" protected _events => array(2) ( "model.after_create" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_User(2)
protected _behaviors => array(1) ( 0 => object Jam_Behavior_User(2){ protected _model => string(4) "user" protected _name => integer 0 }
1 => string(18) "model_after_create" ) ) "model.before_save" => array(1) ( 0 => array(2) ( 0 => object Jam_Behavior_User(2){ protected _model => string(4) "user" protected _name => integer 0 }
1 => string(17) "model_before_save" ) ) ) }{ protected _model => string(4) "user" protected _name => integer 0 }
) protected _parent => NULL protected _validators => array(7) ( 0 => object Jam_Validator(4){ public attributes => array(1) ( 0 => string(5) "email" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
1 => object Jam_Validator(4){ public allow_null => bool FALSE }
) public condition => string(16) "admin_validation" public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(8) "fullname" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
2 => object Jam_Validator(4){ public allow_null => bool FALSE }
) public condition => string(19) "frontend_validation" public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(5) "email" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
3 => object Jam_Validator(4){ public allow_null => bool FALSE }
) public condition => string(19) "frontend_validation" public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(5) "email" ) public rules => array(2) ( 0 => object Jam_Validator_Rule_Format(7)
4 => object Jam_Validator(4){ public regex => NULL public filter => integer 274 public flag => NULL public email => NULL public url => NULL public ip => NULL public allow_null => bool TRUE }
1 => object Jam_Validator_Rule_Unique(2){ public scope => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(13) "last_login_ip" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Format(7)
5 => object Jam_Validator(4){ public regex => NULL public filter => integer 275 public flag => NULL public email => NULL public url => NULL public ip => NULL public allow_null => bool TRUE }
) public condition => NULL public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(8) "password" ) public rules => array(2) ( 0 => object Jam_Validator_Rule_Present(1)
6 => object Jam_Validator(4){ public allow_null => bool FALSE }
1 => object Jam_Validator_Rule_Confirmed(2){ public confirmation => NULL public allow_null => bool TRUE }
) public condition => string(17) "validate_password" public condition_negative => bool FALSE }{ public attributes => array(1) ( 0 => string(21) "password_confirmation" ) public rules => array(1) ( 0 => object Jam_Validator_Rule_Present(1)
) protected _with_options => NULL }{ public allow_null => bool FALSE }
) public condition => string(17) "validate_password" public condition_negative => bool FALSE }{ protected _services => array(3) ( "facebook" => object Auth_Service_Facebook(8)
protected ajax => bool FALSE protected session => object Session_Native(5){ protected _service_field => string(12) "facebook_uid" protected _type => string(8) "facebook" protected _api => NULL protected _enabled => bool TRUE protected _config => array(5) ( "enabled" => bool TRUE "auto_login" => bool FALSE "create_user" => bool TRUE "auth" => array(2) ( "appId" => string(15) "127677517420825" "secret" => string(32) "d7b0184eaae49d77c7e8d6f153178513" ) "back_url" => string(8) "fb_login" ) protected _login_role => NULL protected _user_model => string(4) "user" protected _role_model => string(4) "role" }
"twitter" => object Auth_Service_Twitter(12){ protected _service_field => string(11) "twitter_uid" protected _type => string(7) "twitter" private session => object Session_Native(5)
"linkedin" => object Auth_Service_Linkedin(10){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
private _consumer_key => string(21) "vOugBO4YjIwPTAXcDRgIg" private _consumer_secret => string(42) "IzHuZ9y3vEMQTn4FtYt4170dJ1yPgjB271VpJEjnBA" private token_credentials => NULL protected _api => NULL protected _enabled => bool TRUE protected _config => array(3) ( "enabled" => bool TRUE "auth" => array(5) ( "consumer_key" => string(21) "vOugBO4YjIwPTAXcDRgIg" "consumer_secret" => string(42) "IzHuZ9y3vEMQTn4FtYt4170dJ1yPgjB271VpJEjnBA" "access_token" => string(50) "38644891-ysPcJW3RazwMeywSyifTOvRJmB4yi6ZtWMCzHLprE" "access_token_secret" => string(43) "9HWSDFak7r74IcT0lTblzgt8eRUoEDznsgbDmbMVxDo" "oauth_callback" => string(36) "http://openoffices.com/twitter_login" ) "create_user" => bool TRUE ) protected _login_role => NULL protected _user_model => string(4) "user" protected _role_model => string(4) "role" }{ protected _service_field => string(12) "linkedin_uid" protected _type => string(8) "linkedin" public session => object Session_Native(5)
) protected _session => object Session_Native(5){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected user_data => NULL protected _api => NULL protected _enabled => bool TRUE protected _config => array(7) ( "enabled" => bool TRUE "create_user" => bool TRUE "update_user" => bool TRUE "back_url" => string(37) "http://openoffices.com/linkedin_login" "api_key" => string(12) "a9kczjc4l1bp" "api_secret" => string(16) "iwCQxecayt7HglM6" "scope" => string(28) "r_fullprofile r_emailaddress" ) protected _login_role => NULL protected _user_model => string(4) "user" protected _role_model => string(4) "role" }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected _config => object Config_Group(8){ public services => array(3) ( "facebook" => array(5) ( "enabled" => bool TRUE "auto_login" => bool FALSE "create_user" => bool TRUE "auth" => array(2) ( "appId" => string(15) "127677517420825" "secret" => string(32) "d7b0184eaae49d77c7e8d6f153178513" ) "back_url" => string(8) "fb_login" ) "twitter" => array(3) ( "enabled" => bool TRUE "auth" => array(5) ( "consumer_key" => string(21) "vOugBO4YjIwPTAXcDRgIg" "consumer_secret" => string(42) "IzHuZ9y3vEMQTn4FtYt4170dJ1yPgjB271VpJEjnBA" "access_token" => string(50) "38644891-ysPcJW3RazwMeywSyifTOvRJmB4yi6ZtWMCzHLprE" "access_token_secret" => string(43) "9HWSDFak7r74IcT0lTblzgt8eRUoEDznsgbDmbMVxDo" "oauth_callback" => string(36) "http://openoffices.com/twitter_login" ) "create_user" => bool TRUE ) "linkedin" => array(7) ( "enabled" => bool TRUE "create_user" => bool TRUE "update_user" => bool TRUE "back_url" => string(37) "http://openoffices.com/linkedin_login" "api_key" => string(12) "a9kczjc4l1bp" "api_secret" => string(16) "iwCQxecayt7HglM6" "scope" => string(28) "r_fullprofile r_emailaddress" ) ) public driver => string(3) "jam" public hash_method => string(3) "md5" public hash_key => string(19) "babamecashtetekleca" public lifetime => integer 7200 public session_type => string(6) "native" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected valid_post => bool FALSE protected action => string(5) "index" protected controller => string(6) "office" public auto_render => bool TRUE public request => object Request(20){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => string(68) "http://www.openoffices.com/office/25-bevis-marks-city-ec3-london-728" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(30) "<controller>/<slug>(/<action>)" protected _regex => array(1) ( "controller" => string(13) "office|agency" ) protected _defaults => array(2) ( "controller" => string(6) "office" "action" => string(5) "index" ) protected _route_regex => string(88) "#^(?P<controller>office|agency)/(?P<slug>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "office" protected _action => string(5) "index" protected _uri => string(41) "office/25-bevis-marks-city-ec3-london-728" protected _external => bool FALSE protected _params => array(1) ( "slug" => string(34) "25-bevis-marks-city-ec3-london-728" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ 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" }98 } 99 100 // Create a new instance of the controller 101 $controller = $class->newInstance($request, $request->response() ? $request->response() : $request->create_response()); 102 103 $class->getMethod('before')->invoke($controller); 104 105 // Determine the action to use 106 $action = $request->action(); 107 108 // If the action doesn't exist, it's a 404
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => string(68) "http://www.openoffices.com/office/25-bevis-marks-city-ec3-london-728" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(30) "<controller>/<slug>(/<action>)" protected _regex => array(1) ( "controller" => string(13) "office|agency" ) protected _defaults => array(2) ( "controller" => string(6) "office" "action" => string(5) "index" ) protected _route_regex => string(88) "#^(?P<controller>office|agency)/(?P<slug>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "office" protected _action => string(5) "index" protected _uri => string(41) "office/25-bevis-marks-city-ec3-london-728" protected _external => bool FALSE protected _params => array(1) ( "slug" => string(34) "25-bevis-marks-city-ec3-london-728" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1154 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => string(68) "http://www.openoffices.com/office/25-bevis-marks-city-ec3-london-728" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(30) "<controller>/<slug>(/<action>)" protected _regex => array(1) ( "controller" => string(13) "office|agency" ) protected _defaults => array(2) ( "controller" => string(6) "office" "action" => string(5) "index" ) protected _route_regex => string(88) "#^(?P<controller>office|agency)/(?P<slug>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "office" protected _action => string(5) "index" protected _uri => string(41) "office/25-bevis-marks-city-ec3-london-728" protected _external => bool FALSE protected _params => array(1) ( "slug" => string(34) "25-bevis-marks-city-ec3-london-728" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}1149 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1150 ':uri' => $this->_uri, 1151 )); 1152 } 1153 1154 return $this->_client->execute($this); 1155 } 1156 1157 /** 1158 * Returns whether this request is the initial request Kohana received. 1159 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 130 ] » Kohana_Request->execute()
125 /** 126 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 127 * If no source is specified, the URI will be automatically detected. 128 */ 129 echo Request::factory() 130 ->execute() 131 ->send_headers() 132 ->body();