/srv/www/site/application/libraries/Twig/Template.php [ 182 ]
177 try {
178 $this->doDisplay($context, $blocks);
179 } catch (Twig_Error $e) {
180 throw $e;
181 } catch (Exception $e) {
182 throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, null, $e);
183 }
184 }
185
186 /**
187 * Renders the template with the given context and returns it as string.
-
/srv/www/site/application/cache/twig/14/74/628f11584c5037d1e9f8244d637e.php [ 32 ] » Twig_Template->display(arguments)
context
Array ( [controller] => News [page] => news [view] => All News [article] => News_model Object ( [has_one] => Array ( [image] => Array ( [class] => image [other_field] => news_model [join_self_as] => news_model [join_other_as] => image [join_table] => [reciprocal] => [auto_populate] => [cascade_delete] => 1 ) ) [table] => news [validation] => Array ( [title] => Array ( [label] => Title [rules] => Array ( [0] => required [1] => trim ) [field] => title ) [display_date] => Array ( [label] => Display Date [rules] => Array ( [0] => required [1] => trim ) [field] => display_date ) [body] => Array ( [label] => Body [rules] => Array ( [0] => required [1] => trim ) [field] => body ) [id] => Array ( [field] => id [rules] => Array ( [0] => integer ) [label] => id ) [image_id] => Array ( [field] => image_id [rules] => Array ( ) [label] => image_id ) [link] => Array ( [field] => link [rules] => Array ( ) [label] => link ) [link_label] => Array ( [field] => link_label [rules] => Array ( ) [label] => link_label ) [colour_hex] => Array ( [field] => colour_hex [rules] => Array ( ) [label] => colour_hex ) [colour_rgb] => Array ( [field] => colour_rgb [rules] => Array ( ) [label] => colour_rgb ) [lightbox] => Array ( [field] => lightbox [rules] => Array ( ) [label] => lightbox ) [lightbox_label] => Array ( [field] => lightbox_label [rules] => Array ( ) [label] => lightbox_label ) [slug] => Array ( [field] => slug [rules] => Array ( ) [label] => slug ) [live] => Array ( [field] => live [rules] => Array ( ) [label] => live ) [created] => Array ( [field] => created [rules] => Array ( ) [label] => created ) [updated] => Array ( [field] => updated [rules] => Array ( ) [label] => updated ) [image] => Array ( [field] => image [rules] => Array ( ) [label] => image ) ) [error] => DM_Error_Object Object ( [all] => Array ( ) [string] => ) [stored] => stdClass Object ( [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [model] => news_model [primary_key] => id [valid] => [cascade_delete] => 1 [fields] => Array ( [0] => id [1] => display_date [2] => title [3] => image_id [4] => body [5] => link [6] => link_label [7] => colour_hex [8] => colour_rgb [9] => lightbox [10] => lightbox_label [11] => slug [12] => live [13] => created [14] => updated ) [all] => Array ( ) [parent] => Array ( ) [has_many] => Array ( ) [production_cache] => [free_result_threshold] => 100 [default_order_by] => [_validated:protected] => [_force_validation:protected] => [_instantiations:protected] => [_field_tracking:protected] => Array ( [get_rules] => Array ( ) [matches] => Array ( ) [intval] => Array ( [0] => id ) ) [_query_related:protected] => Array ( ) [_include_join_fields:protected] => [_force_save_as_new:protected] => [_where_group_started:protected] => [_group_count:protected] => 0 [ci_load] => DM_Loader Object ( [_module:protected] => news [_ci_plugins] => Array ( ) [_ci_cached_vars] => Array ( ) [_ci_ob_level:protected] => 1 [_ci_view_paths:protected] => Array ( [../application/third_party/views/] => 1 [../application/views/] => 1 ) [_ci_library_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_ci_model_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/modules/news/ [2] => ../application/ ) [_ci_helper_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_base_classes:protected] => Array ( [exceptions] => Exceptions [log] => Log [benchmark] => Benchmark [hooks] => Hooks [config] => Config [utf8] => Utf8 [uri] => URI [router] => Router [output] => Output [security] => Security [input] => Input [lang] => Lang [loader] => Loader ) [_ci_classes:protected] => Array ( [datamapper] => datamapper [session] => session [twig] => twig [textile] => textile ) [_ci_loaded_files:protected] => Array ( [0] => ../application/libraries/datamapper.php [1] => /srv/www/site/system/libraries/Session.php [2] => ../application/libraries/Twig.php [3] => ../application/libraries/Textile.php ) [_ci_models:protected] => Array ( ) [_ci_helpers:protected] => Array ( [inflector_helper] => 1 [security_helper] => 1 [string_helper] => 1 [form_helper] => 1 [url_helper] => 1 ) [_ci_varmap:protected] => Array ( [unit_test] => unit [user_agent] => agent ) ) [ci_config] => MX_Config Object ( [config] => Array ( [debug] => [admin_items_per_page] => 300 [work_items_per_page] => 16 [news_items_per_page] => 10 [sysadmin] => andy@supermodal.net [servername] => Finish Server [base_url] => http://www.finish.tv/ [index_page] => [uri_protocol] => AUTO [url_suffix] => [language] => english [charset] => UTF-8 [enable_hooks] => 1 [subclass_prefix] => MY_ [permitted_uri_chars] => a-z 0-9~%.:_\- [allow_get_array] => 1 [enable_query_strings] => [controller_trigger] => c [function_trigger] => m [directory_trigger] => d [log_threshold] => 1 [log_path] => [log_date_format] => Y-m-d H:i:s [cache_path] => [encryption_key] => xGcwYfoDMCamzRsXpUnABF8sFYJgRLak6ralFHzR [sess_cookie_name] => ci_session [sess_expiration] => 0 [sess_expire_on_close] => [sess_encrypt_cookie] => [sess_use_database] => 1 [sess_table_name] => ci_sessions [sess_match_ip] => [sess_match_useragent] => 1 [sess_time_to_update] => 300 [cookie_prefix] => [cookie_domain] => [cookie_path] => / [cookie_secure] => [global_xss_filtering] => 1 [csrf_protection] => 1 [csrf_token_name] => csrf_test_name [csrf_cookie_name] => csrf_cookie_name [csrf_expire] => 7200 [compress_output] => [time_reference] => local [rewrite_short_tags] => [proxy_ips] => [datamapper] => Array ( [prefix] => [join_prefix] => [error_prefix] =>
[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [extensions] => Array ( ) ) [template_dir] => ../application/views [cache_dir] => ../application/cache/twig ) [is_loaded] => Array ( [0] => ../application/config//datamapper.php [1] => ../application/config//twig.php ) [_config_paths] => Array ( [0] => ../application/third_party/ [1] => ../application/ ) ) [ci_lang] => DM_Lang Object ( [language] => Array ( [alpha_dash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, and full stops. [alpha_slash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, slashes, and full stops. [min_date] => The %s field must be at least %s. [max_date] => The %s field can not exceed %s. [min_size] => The %s field must be at least %s. [max_size] => The %s field can not exceed %s. [transaction] => The %s failed to %s. [unique] => The %s you supplied is already taken. [unique_pair] => The combination of %s and %s you supplied is already taken. [valid_date] => The %s field must contain a valid date. [valid_date_group] => The %2$s fields must contain a valid date. [valid_match] => The %s field may only be %s. [related_required] => The %s relationship is required. [related_min_size] => The %s relationship must be at least %s. [related_max_size] => The %s relationship can not exceed %s. [dm_save_rel_failed] => The %s relationship is not properly defined. [dm_save_rel_nothis] => Unable to save the %s relationship: This object is not saved. [dm_save_rel_noobj] => Unable to save the %s relationship: The related object was not saved. ) [is_loaded] => Array ( [0] => datamapper_lang.php ) ) [prefix] => [join_prefix] => [error_prefix] =>[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [db] => DM_DB_mysqli_driver Object ( [dbdriver] => mysqli [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [delete_hack] => 1 [use_set_names] => [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( ) [ar_join] => Array ( ) [ar_where] => Array ( ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => [ar_offset] => [ar_order] => [ar_orderby] => Array ( ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [ar_no_escape] => Array ( ) [ar_cache_no_escape] => Array ( ) [username] => finishdbuser [password] => X#[zt8g97Z}eXE7N [hostname] => 127.0.0.1 [database] => finish [dbprefix] => [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => 1 [conn_id] => mysqli Object ( [affected_rows] => [client_info] => [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => [error] => [error_list] => [field_count] => [host_info] => [info] => [insert_id] => [server_info] => [server_version] => [stat] => [sqlstate] => [protocol_version] => [thread_id] => [warning_count] => ) [result_id] => mysqli_result Object ( [current_field] => [field_count] => [lengths] => [num_rows] => [type] => ) [db_debug] => 1 [benchmark] => 0.095112085342407 [query_count] => 3 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => INSERT INTO `ci_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES ('6430eaac6eee055b9b7e8d969f7b0e4a', '23.23.137.202', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amaz', 1745999210, '') [1] => DESCRIBE `news` [2] => DESCRIBE `images` [3] => SELECT `news`.`id`, `news`.`slug`, `news`.`title`, `news`.`display_date`, `news`.`body`, `news`.`link`, `news`.`link_label`, `news`.`image_id`, `news`.`lightbox`, `news`.`lightbox_label`, `images`.`title` AS image_title, `images`.`caption` AS image_caption, `images`.`uri` AS image_uri, `images`.`created` AS image_created, `images`.`updated` AS image_updated FROM (`news`) LEFT OUTER JOIN `images` images ON `images`.`id` = `news`.`image_id` WHERE `news`.`slug` = 'great-windmill-street-save-soho-independent-shops' [4] => SELECT `news`.`id`, `news`.`slug` FROM (`news`) WHERE `news`.`live` = 1 ORDER BY `news`.`display_date` desc [5] => DESCRIBE `home` [6] => SELECT `home`.`news_colour_hex`, `home`.`news_colour_rgb` FROM (`home`) WHERE `home`.`id` = 1 ) [query_times] => Array ( [0] => 0.093316078186035 [1] => 0.00095200538635254 [2] => 0.00077700614929199 [3] => 0.00084400177001953 [4] => 0.0003960132598877 [5] => 0.00087404251098633 [6] => 0.00020909309387207 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [_has_shutdown_hook] => 1 ) [extensions] => Array ( [_methods] => Array ( ) ) [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [next_news_slug] => creating-the-spirit-of-soho [spot_colour_hex] => 31cc62 [spot_colour_rgb] => 49,204,98 [background_image] => /img/backgrounds/news.jpg [search_form] =>blocks
Array ( [head] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object ( [parent:protected] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object *RECURSION* [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array *RECURSION* [content] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_codefoot ) ) ) [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object ( [parent:protected] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object *RECURSION* [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_head ) [content] => Array *RECURSION* [codefoot] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_codefoot ) ) ) [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object ( [parent:protected] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object *RECURSION* [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_content ) [codefoot] => Array *RECURSION* ) ) [1] => block_codefoot ) )
27 28 protected function doDisplay(array $context, array $blocks = array()) 29 { 30 $context = array_merge($this->env->getGlobals(), $context); 31 32 $this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); 33 } 34 35 // line 3 36 public function block_head($context, array $blocks = array()) 37 {
-
/srv/www/site/application/libraries/Twig/Template.php [ 178 ] » __TwigTemplate_1474628f11584c5037d1e9f8244d637e->doDisplay(arguments)
context
Array ( [controller] => News [page] => news [view] => All News [article] => News_model Object ( [has_one] => Array ( [image] => Array ( [class] => image [other_field] => news_model [join_self_as] => news_model [join_other_as] => image [join_table] => [reciprocal] => [auto_populate] => [cascade_delete] => 1 ) ) [table] => news [validation] => Array ( [title] => Array ( [label] => Title [rules] => Array ( [0] => required [1] => trim ) [field] => title ) [display_date] => Array ( [label] => Display Date [rules] => Array ( [0] => required [1] => trim ) [field] => display_date ) [body] => Array ( [label] => Body [rules] => Array ( [0] => required [1] => trim ) [field] => body ) [id] => Array ( [field] => id [rules] => Array ( [0] => integer ) [label] => id ) [image_id] => Array ( [field] => image_id [rules] => Array ( ) [label] => image_id ) [link] => Array ( [field] => link [rules] => Array ( ) [label] => link ) [link_label] => Array ( [field] => link_label [rules] => Array ( ) [label] => link_label ) [colour_hex] => Array ( [field] => colour_hex [rules] => Array ( ) [label] => colour_hex ) [colour_rgb] => Array ( [field] => colour_rgb [rules] => Array ( ) [label] => colour_rgb ) [lightbox] => Array ( [field] => lightbox [rules] => Array ( ) [label] => lightbox ) [lightbox_label] => Array ( [field] => lightbox_label [rules] => Array ( ) [label] => lightbox_label ) [slug] => Array ( [field] => slug [rules] => Array ( ) [label] => slug ) [live] => Array ( [field] => live [rules] => Array ( ) [label] => live ) [created] => Array ( [field] => created [rules] => Array ( ) [label] => created ) [updated] => Array ( [field] => updated [rules] => Array ( ) [label] => updated ) [image] => Array ( [field] => image [rules] => Array ( ) [label] => image ) ) [error] => DM_Error_Object Object ( [all] => Array ( ) [string] => ) [stored] => stdClass Object ( [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [model] => news_model [primary_key] => id [valid] => [cascade_delete] => 1 [fields] => Array ( [0] => id [1] => display_date [2] => title [3] => image_id [4] => body [5] => link [6] => link_label [7] => colour_hex [8] => colour_rgb [9] => lightbox [10] => lightbox_label [11] => slug [12] => live [13] => created [14] => updated ) [all] => Array ( ) [parent] => Array ( ) [has_many] => Array ( ) [production_cache] => [free_result_threshold] => 100 [default_order_by] => [_validated:protected] => [_force_validation:protected] => [_instantiations:protected] => [_field_tracking:protected] => Array ( [get_rules] => Array ( ) [matches] => Array ( ) [intval] => Array ( [0] => id ) ) [_query_related:protected] => Array ( ) [_include_join_fields:protected] => [_force_save_as_new:protected] => [_where_group_started:protected] => [_group_count:protected] => 0 [ci_load] => DM_Loader Object ( [_module:protected] => news [_ci_plugins] => Array ( ) [_ci_cached_vars] => Array ( ) [_ci_ob_level:protected] => 1 [_ci_view_paths:protected] => Array ( [../application/third_party/views/] => 1 [../application/views/] => 1 ) [_ci_library_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_ci_model_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/modules/news/ [2] => ../application/ ) [_ci_helper_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_base_classes:protected] => Array ( [exceptions] => Exceptions [log] => Log [benchmark] => Benchmark [hooks] => Hooks [config] => Config [utf8] => Utf8 [uri] => URI [router] => Router [output] => Output [security] => Security [input] => Input [lang] => Lang [loader] => Loader ) [_ci_classes:protected] => Array ( [datamapper] => datamapper [session] => session [twig] => twig [textile] => textile ) [_ci_loaded_files:protected] => Array ( [0] => ../application/libraries/datamapper.php [1] => /srv/www/site/system/libraries/Session.php [2] => ../application/libraries/Twig.php [3] => ../application/libraries/Textile.php ) [_ci_models:protected] => Array ( ) [_ci_helpers:protected] => Array ( [inflector_helper] => 1 [security_helper] => 1 [string_helper] => 1 [form_helper] => 1 [url_helper] => 1 ) [_ci_varmap:protected] => Array ( [unit_test] => unit [user_agent] => agent ) ) [ci_config] => MX_Config Object ( [config] => Array ( [debug] => [admin_items_per_page] => 300 [work_items_per_page] => 16 [news_items_per_page] => 10 [sysadmin] => andy@supermodal.net [servername] => Finish Server [base_url] => http://www.finish.tv/ [index_page] => [uri_protocol] => AUTO [url_suffix] => [language] => english [charset] => UTF-8 [enable_hooks] => 1 [subclass_prefix] => MY_ [permitted_uri_chars] => a-z 0-9~%.:_\- [allow_get_array] => 1 [enable_query_strings] => [controller_trigger] => c [function_trigger] => m [directory_trigger] => d [log_threshold] => 1 [log_path] => [log_date_format] => Y-m-d H:i:s [cache_path] => [encryption_key] => xGcwYfoDMCamzRsXpUnABF8sFYJgRLak6ralFHzR [sess_cookie_name] => ci_session [sess_expiration] => 0 [sess_expire_on_close] => [sess_encrypt_cookie] => [sess_use_database] => 1 [sess_table_name] => ci_sessions [sess_match_ip] => [sess_match_useragent] => 1 [sess_time_to_update] => 300 [cookie_prefix] => [cookie_domain] => [cookie_path] => / [cookie_secure] => [global_xss_filtering] => 1 [csrf_protection] => 1 [csrf_token_name] => csrf_test_name [csrf_cookie_name] => csrf_cookie_name [csrf_expire] => 7200 [compress_output] => [time_reference] => local [rewrite_short_tags] => [proxy_ips] => [datamapper] => Array ( [prefix] => [join_prefix] => [error_prefix] =>
[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [extensions] => Array ( ) ) [template_dir] => ../application/views [cache_dir] => ../application/cache/twig ) [is_loaded] => Array ( [0] => ../application/config//datamapper.php [1] => ../application/config//twig.php ) [_config_paths] => Array ( [0] => ../application/third_party/ [1] => ../application/ ) ) [ci_lang] => DM_Lang Object ( [language] => Array ( [alpha_dash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, and full stops. [alpha_slash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, slashes, and full stops. [min_date] => The %s field must be at least %s. [max_date] => The %s field can not exceed %s. [min_size] => The %s field must be at least %s. [max_size] => The %s field can not exceed %s. [transaction] => The %s failed to %s. [unique] => The %s you supplied is already taken. [unique_pair] => The combination of %s and %s you supplied is already taken. [valid_date] => The %s field must contain a valid date. [valid_date_group] => The %2$s fields must contain a valid date. [valid_match] => The %s field may only be %s. [related_required] => The %s relationship is required. [related_min_size] => The %s relationship must be at least %s. [related_max_size] => The %s relationship can not exceed %s. [dm_save_rel_failed] => The %s relationship is not properly defined. [dm_save_rel_nothis] => Unable to save the %s relationship: This object is not saved. [dm_save_rel_noobj] => Unable to save the %s relationship: The related object was not saved. ) [is_loaded] => Array ( [0] => datamapper_lang.php ) ) [prefix] => [join_prefix] => [error_prefix] =>[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [db] => DM_DB_mysqli_driver Object ( [dbdriver] => mysqli [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [delete_hack] => 1 [use_set_names] => [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( ) [ar_join] => Array ( ) [ar_where] => Array ( ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => [ar_offset] => [ar_order] => [ar_orderby] => Array ( ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [ar_no_escape] => Array ( ) [ar_cache_no_escape] => Array ( ) [username] => finishdbuser [password] => X#[zt8g97Z}eXE7N [hostname] => 127.0.0.1 [database] => finish [dbprefix] => [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => 1 [conn_id] => mysqli Object ( [affected_rows] => [client_info] => [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => [error] => [error_list] => [field_count] => [host_info] => [info] => [insert_id] => [server_info] => [server_version] => [stat] => [sqlstate] => [protocol_version] => [thread_id] => [warning_count] => ) [result_id] => mysqli_result Object ( [current_field] => [field_count] => [lengths] => [num_rows] => [type] => ) [db_debug] => 1 [benchmark] => 0.095112085342407 [query_count] => 3 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => INSERT INTO `ci_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES ('6430eaac6eee055b9b7e8d969f7b0e4a', '23.23.137.202', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amaz', 1745999210, '') [1] => DESCRIBE `news` [2] => DESCRIBE `images` [3] => SELECT `news`.`id`, `news`.`slug`, `news`.`title`, `news`.`display_date`, `news`.`body`, `news`.`link`, `news`.`link_label`, `news`.`image_id`, `news`.`lightbox`, `news`.`lightbox_label`, `images`.`title` AS image_title, `images`.`caption` AS image_caption, `images`.`uri` AS image_uri, `images`.`created` AS image_created, `images`.`updated` AS image_updated FROM (`news`) LEFT OUTER JOIN `images` images ON `images`.`id` = `news`.`image_id` WHERE `news`.`slug` = 'great-windmill-street-save-soho-independent-shops' [4] => SELECT `news`.`id`, `news`.`slug` FROM (`news`) WHERE `news`.`live` = 1 ORDER BY `news`.`display_date` desc [5] => DESCRIBE `home` [6] => SELECT `home`.`news_colour_hex`, `home`.`news_colour_rgb` FROM (`home`) WHERE `home`.`id` = 1 ) [query_times] => Array ( [0] => 0.093316078186035 [1] => 0.00095200538635254 [2] => 0.00077700614929199 [3] => 0.00084400177001953 [4] => 0.0003960132598877 [5] => 0.00087404251098633 [6] => 0.00020909309387207 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [_has_shutdown_hook] => 1 ) [extensions] => Array ( [_methods] => Array ( ) ) [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [next_news_slug] => creating-the-spirit-of-soho [spot_colour_hex] => 31cc62 [spot_colour_rgb] => 49,204,98 [background_image] => /img/backgrounds/news.jpg [search_form] =>blocks
Array ( )
173 * @param array $blocks An array of blocks to pass to the template 174 */ 175 public function display(array $context, array $blocks = array()) 176 { 177 try { 178 $this->doDisplay($context, $blocks); 179 } catch (Twig_Error $e) { 180 throw $e; 181 } catch (Exception $e) { 182 throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, null, $e); 183 }
-
/srv/www/site/application/libraries/Twig.php [ 56 ] » Twig_Template->display(arguments)
context
Array ( [controller] => News [page] => news [view] => All News [article] => News_model Object ( [has_one] => Array ( [image] => Array ( [class] => image [other_field] => news_model [join_self_as] => news_model [join_other_as] => image [join_table] => [reciprocal] => [auto_populate] => [cascade_delete] => 1 ) ) [table] => news [validation] => Array ( [title] => Array ( [label] => Title [rules] => Array ( [0] => required [1] => trim ) [field] => title ) [display_date] => Array ( [label] => Display Date [rules] => Array ( [0] => required [1] => trim ) [field] => display_date ) [body] => Array ( [label] => Body [rules] => Array ( [0] => required [1] => trim ) [field] => body ) [id] => Array ( [field] => id [rules] => Array ( [0] => integer ) [label] => id ) [image_id] => Array ( [field] => image_id [rules] => Array ( ) [label] => image_id ) [link] => Array ( [field] => link [rules] => Array ( ) [label] => link ) [link_label] => Array ( [field] => link_label [rules] => Array ( ) [label] => link_label ) [colour_hex] => Array ( [field] => colour_hex [rules] => Array ( ) [label] => colour_hex ) [colour_rgb] => Array ( [field] => colour_rgb [rules] => Array ( ) [label] => colour_rgb ) [lightbox] => Array ( [field] => lightbox [rules] => Array ( ) [label] => lightbox ) [lightbox_label] => Array ( [field] => lightbox_label [rules] => Array ( ) [label] => lightbox_label ) [slug] => Array ( [field] => slug [rules] => Array ( ) [label] => slug ) [live] => Array ( [field] => live [rules] => Array ( ) [label] => live ) [created] => Array ( [field] => created [rules] => Array ( ) [label] => created ) [updated] => Array ( [field] => updated [rules] => Array ( ) [label] => updated ) [image] => Array ( [field] => image [rules] => Array ( ) [label] => image ) ) [error] => DM_Error_Object Object ( [all] => Array ( ) [string] => ) [stored] => stdClass Object ( [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [model] => news_model [primary_key] => id [valid] => [cascade_delete] => 1 [fields] => Array ( [0] => id [1] => display_date [2] => title [3] => image_id [4] => body [5] => link [6] => link_label [7] => colour_hex [8] => colour_rgb [9] => lightbox [10] => lightbox_label [11] => slug [12] => live [13] => created [14] => updated ) [all] => Array ( ) [parent] => Array ( ) [has_many] => Array ( ) [production_cache] => [free_result_threshold] => 100 [default_order_by] => [_validated:protected] => [_force_validation:protected] => [_instantiations:protected] => [_field_tracking:protected] => Array ( [get_rules] => Array ( ) [matches] => Array ( ) [intval] => Array ( [0] => id ) ) [_query_related:protected] => Array ( ) [_include_join_fields:protected] => [_force_save_as_new:protected] => [_where_group_started:protected] => [_group_count:protected] => 0 [ci_load] => DM_Loader Object ( [_module:protected] => news [_ci_plugins] => Array ( ) [_ci_cached_vars] => Array ( ) [_ci_ob_level:protected] => 1 [_ci_view_paths:protected] => Array ( [../application/third_party/views/] => 1 [../application/views/] => 1 ) [_ci_library_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_ci_model_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/modules/news/ [2] => ../application/ ) [_ci_helper_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_base_classes:protected] => Array ( [exceptions] => Exceptions [log] => Log [benchmark] => Benchmark [hooks] => Hooks [config] => Config [utf8] => Utf8 [uri] => URI [router] => Router [output] => Output [security] => Security [input] => Input [lang] => Lang [loader] => Loader ) [_ci_classes:protected] => Array ( [datamapper] => datamapper [session] => session [twig] => twig [textile] => textile ) [_ci_loaded_files:protected] => Array ( [0] => ../application/libraries/datamapper.php [1] => /srv/www/site/system/libraries/Session.php [2] => ../application/libraries/Twig.php [3] => ../application/libraries/Textile.php ) [_ci_models:protected] => Array ( ) [_ci_helpers:protected] => Array ( [inflector_helper] => 1 [security_helper] => 1 [string_helper] => 1 [form_helper] => 1 [url_helper] => 1 ) [_ci_varmap:protected] => Array ( [unit_test] => unit [user_agent] => agent ) ) [ci_config] => MX_Config Object ( [config] => Array ( [debug] => [admin_items_per_page] => 300 [work_items_per_page] => 16 [news_items_per_page] => 10 [sysadmin] => andy@supermodal.net [servername] => Finish Server [base_url] => http://www.finish.tv/ [index_page] => [uri_protocol] => AUTO [url_suffix] => [language] => english [charset] => UTF-8 [enable_hooks] => 1 [subclass_prefix] => MY_ [permitted_uri_chars] => a-z 0-9~%.:_\- [allow_get_array] => 1 [enable_query_strings] => [controller_trigger] => c [function_trigger] => m [directory_trigger] => d [log_threshold] => 1 [log_path] => [log_date_format] => Y-m-d H:i:s [cache_path] => [encryption_key] => xGcwYfoDMCamzRsXpUnABF8sFYJgRLak6ralFHzR [sess_cookie_name] => ci_session [sess_expiration] => 0 [sess_expire_on_close] => [sess_encrypt_cookie] => [sess_use_database] => 1 [sess_table_name] => ci_sessions [sess_match_ip] => [sess_match_useragent] => 1 [sess_time_to_update] => 300 [cookie_prefix] => [cookie_domain] => [cookie_path] => / [cookie_secure] => [global_xss_filtering] => 1 [csrf_protection] => 1 [csrf_token_name] => csrf_test_name [csrf_cookie_name] => csrf_cookie_name [csrf_expire] => 7200 [compress_output] => [time_reference] => local [rewrite_short_tags] => [proxy_ips] => [datamapper] => Array ( [prefix] => [join_prefix] => [error_prefix] =>
[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [extensions] => Array ( ) ) [template_dir] => ../application/views [cache_dir] => ../application/cache/twig ) [is_loaded] => Array ( [0] => ../application/config//datamapper.php [1] => ../application/config//twig.php ) [_config_paths] => Array ( [0] => ../application/third_party/ [1] => ../application/ ) ) [ci_lang] => DM_Lang Object ( [language] => Array ( [alpha_dash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, and full stops. [alpha_slash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, slashes, and full stops. [min_date] => The %s field must be at least %s. [max_date] => The %s field can not exceed %s. [min_size] => The %s field must be at least %s. [max_size] => The %s field can not exceed %s. [transaction] => The %s failed to %s. [unique] => The %s you supplied is already taken. [unique_pair] => The combination of %s and %s you supplied is already taken. [valid_date] => The %s field must contain a valid date. [valid_date_group] => The %2$s fields must contain a valid date. [valid_match] => The %s field may only be %s. [related_required] => The %s relationship is required. [related_min_size] => The %s relationship must be at least %s. [related_max_size] => The %s relationship can not exceed %s. [dm_save_rel_failed] => The %s relationship is not properly defined. [dm_save_rel_nothis] => Unable to save the %s relationship: This object is not saved. [dm_save_rel_noobj] => Unable to save the %s relationship: The related object was not saved. ) [is_loaded] => Array ( [0] => datamapper_lang.php ) ) [prefix] => [join_prefix] => [error_prefix] =>[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [db] => DM_DB_mysqli_driver Object ( [dbdriver] => mysqli [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [delete_hack] => 1 [use_set_names] => [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( ) [ar_join] => Array ( ) [ar_where] => Array ( ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => [ar_offset] => [ar_order] => [ar_orderby] => Array ( ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [ar_no_escape] => Array ( ) [ar_cache_no_escape] => Array ( ) [username] => finishdbuser [password] => X#[zt8g97Z}eXE7N [hostname] => 127.0.0.1 [database] => finish [dbprefix] => [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => 1 [conn_id] => mysqli Object ( [affected_rows] => [client_info] => [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => [error] => [error_list] => [field_count] => [host_info] => [info] => [insert_id] => [server_info] => [server_version] => [stat] => [sqlstate] => [protocol_version] => [thread_id] => [warning_count] => ) [result_id] => mysqli_result Object ( [current_field] => [field_count] => [lengths] => [num_rows] => [type] => ) [db_debug] => 1 [benchmark] => 0.095112085342407 [query_count] => 3 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => INSERT INTO `ci_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES ('6430eaac6eee055b9b7e8d969f7b0e4a', '23.23.137.202', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amaz', 1745999210, '') [1] => DESCRIBE `news` [2] => DESCRIBE `images` [3] => SELECT `news`.`id`, `news`.`slug`, `news`.`title`, `news`.`display_date`, `news`.`body`, `news`.`link`, `news`.`link_label`, `news`.`image_id`, `news`.`lightbox`, `news`.`lightbox_label`, `images`.`title` AS image_title, `images`.`caption` AS image_caption, `images`.`uri` AS image_uri, `images`.`created` AS image_created, `images`.`updated` AS image_updated FROM (`news`) LEFT OUTER JOIN `images` images ON `images`.`id` = `news`.`image_id` WHERE `news`.`slug` = 'great-windmill-street-save-soho-independent-shops' [4] => SELECT `news`.`id`, `news`.`slug` FROM (`news`) WHERE `news`.`live` = 1 ORDER BY `news`.`display_date` desc [5] => DESCRIBE `home` [6] => SELECT `home`.`news_colour_hex`, `home`.`news_colour_rgb` FROM (`home`) WHERE `home`.`id` = 1 ) [query_times] => Array ( [0] => 0.093316078186035 [1] => 0.00095200538635254 [2] => 0.00077700614929199 [3] => 0.00084400177001953 [4] => 0.0003960132598877 [5] => 0.00087404251098633 [6] => 0.00020909309387207 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [_has_shutdown_hook] => 1 ) [extensions] => Array ( [_methods] => Array ( ) ) [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [next_news_slug] => creating-the-spirit-of-soho [spot_colour_hex] => 31cc62 [spot_colour_rgb] => 49,204,98 [background_image] => /img/backgrounds/news.jpg [search_form] =>51 $template = $this->_twig->loadTemplate($template); 52 /* elapsed_time and memory_usage */ 53 $data['elapsed_time'] = $this->CI->benchmark->elapsed_time('total_execution_time_start', 'total_execution_time_end'); 54 $memory = (!function_exists('memory_get_usage')) ? '0' : round(memory_get_usage()/1024/1024, 2) . 'MB'; 55 $data['memory_usage'] = $memory; 56 $template->display($data); 57 } 58 }
-
/srv/www/site/application/modules/news/controllers/news.php [ 166 ] » Twig->display(arguments)
template
__TwigTemplate_1474628f11584c5037d1e9f8244d637e Object ( [parent:protected] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) [env:protected] => Twig_Environment Object ( [charset:protected] => UTF-8 [loader:protected] => Twig_Loader_Filesystem Object ( [paths:protected] => Array ( [0] => ../application/views ) [cache:protected] => Array ( [news/view.html] => ../application/views/news/view.html [base.html] => ../application/views/base.html ) ) [debug:protected] => 1 [autoReload:protected] => 1 [cache:protected] => ../application/cache/twig [lexer:protected] => [parser:protected] => [compiler:protected] => [baseTemplateClass:protected] => Twig_Template [extensions:protected] => Array ( [core] => Twig_Extension_Core Object ( ) [escaper] => Twig_Extension_Escaper Object ( [autoescape:protected] => 1 ) [optimizer] => Twig_Extension_Optimizer Object ( [optimizers:protected] => -1 ) ) [parsers:protected] => [visitors:protected] => [filters:protected] => [tests:protected] => [functions:protected] => [globals:protected] => Array ( ) [runtimeInitialized:protected] => 1 [loadedTemplates:protected] => Array ( [__TwigTemplate_1474628f11584c5037d1e9f8244d637e] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [__TwigTemplate_a420608b5884e016837b0d5fb87c9562] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object ( [env:protected] => Twig_Environment Object *RECURSION* [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_a420608b5884e016837b0d5fb87c9562 Object *RECURSION* [1] => block_codefoot ) ) ) ) [strictVariables:protected] => [unaryOperators:protected] => [binaryOperators:protected] => [templateClassPrefix:protected] => __TwigTemplate_ [functionCallbacks:protected] => Array ( ) [filterCallbacks:protected] => Array ( ) ) [blocks:protected] => Array ( [head] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_head ) [content] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_content ) [codefoot] => Array ( [0] => __TwigTemplate_1474628f11584c5037d1e9f8244d637e Object *RECURSION* [1] => block_codefoot ) ) )
data
Array ( [controller] => News [page] => news [view] => All News [article] => News_model Object ( [has_one] => Array ( [image] => Array ( [class] => image [other_field] => news_model [join_self_as] => news_model [join_other_as] => image [join_table] => [reciprocal] => [auto_populate] => [cascade_delete] => 1 ) ) [table] => news [validation] => Array ( [title] => Array ( [label] => Title [rules] => Array ( [0] => required [1] => trim ) [field] => title ) [display_date] => Array ( [label] => Display Date [rules] => Array ( [0] => required [1] => trim ) [field] => display_date ) [body] => Array ( [label] => Body [rules] => Array ( [0] => required [1] => trim ) [field] => body ) [id] => Array ( [field] => id [rules] => Array ( [0] => integer ) [label] => id ) [image_id] => Array ( [field] => image_id [rules] => Array ( ) [label] => image_id ) [link] => Array ( [field] => link [rules] => Array ( ) [label] => link ) [link_label] => Array ( [field] => link_label [rules] => Array ( ) [label] => link_label ) [colour_hex] => Array ( [field] => colour_hex [rules] => Array ( ) [label] => colour_hex ) [colour_rgb] => Array ( [field] => colour_rgb [rules] => Array ( ) [label] => colour_rgb ) [lightbox] => Array ( [field] => lightbox [rules] => Array ( ) [label] => lightbox ) [lightbox_label] => Array ( [field] => lightbox_label [rules] => Array ( ) [label] => lightbox_label ) [slug] => Array ( [field] => slug [rules] => Array ( ) [label] => slug ) [live] => Array ( [field] => live [rules] => Array ( ) [label] => live ) [created] => Array ( [field] => created [rules] => Array ( ) [label] => created ) [updated] => Array ( [field] => updated [rules] => Array ( ) [label] => updated ) [image] => Array ( [field] => image [rules] => Array ( ) [label] => image ) ) [error] => DM_Error_Object Object ( [all] => Array ( ) [string] => ) [stored] => stdClass Object ( [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [model] => news_model [primary_key] => id [valid] => [cascade_delete] => 1 [fields] => Array ( [0] => id [1] => display_date [2] => title [3] => image_id [4] => body [5] => link [6] => link_label [7] => colour_hex [8] => colour_rgb [9] => lightbox [10] => lightbox_label [11] => slug [12] => live [13] => created [14] => updated ) [all] => Array ( ) [parent] => Array ( ) [has_many] => Array ( ) [production_cache] => [free_result_threshold] => 100 [default_order_by] => [_validated:protected] => [_force_validation:protected] => [_instantiations:protected] => [_field_tracking:protected] => Array ( [get_rules] => Array ( ) [matches] => Array ( ) [intval] => Array ( [0] => id ) ) [_query_related:protected] => Array ( ) [_include_join_fields:protected] => [_force_save_as_new:protected] => [_where_group_started:protected] => [_group_count:protected] => 0 [ci_load] => DM_Loader Object ( [_module:protected] => news [_ci_plugins] => Array ( ) [_ci_cached_vars] => Array ( ) [_ci_ob_level:protected] => 1 [_ci_view_paths:protected] => Array ( [../application/third_party/views/] => 1 [../application/views/] => 1 ) [_ci_library_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_ci_model_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/modules/news/ [2] => ../application/ ) [_ci_helper_paths:protected] => Array ( [0] => ../application/third_party/ [1] => ../application/ [2] => /srv/www/site/system/ ) [_base_classes:protected] => Array ( [exceptions] => Exceptions [log] => Log [benchmark] => Benchmark [hooks] => Hooks [config] => Config [utf8] => Utf8 [uri] => URI [router] => Router [output] => Output [security] => Security [input] => Input [lang] => Lang [loader] => Loader ) [_ci_classes:protected] => Array ( [datamapper] => datamapper [session] => session [twig] => twig [textile] => textile ) [_ci_loaded_files:protected] => Array ( [0] => ../application/libraries/datamapper.php [1] => /srv/www/site/system/libraries/Session.php [2] => ../application/libraries/Twig.php [3] => ../application/libraries/Textile.php ) [_ci_models:protected] => Array ( ) [_ci_helpers:protected] => Array ( [inflector_helper] => 1 [security_helper] => 1 [string_helper] => 1 [form_helper] => 1 [url_helper] => 1 ) [_ci_varmap:protected] => Array ( [unit_test] => unit [user_agent] => agent ) ) [ci_config] => MX_Config Object ( [config] => Array ( [debug] => [admin_items_per_page] => 300 [work_items_per_page] => 16 [news_items_per_page] => 10 [sysadmin] => andy@supermodal.net [servername] => Finish Server [base_url] => http://www.finish.tv/ [index_page] => [uri_protocol] => AUTO [url_suffix] => [language] => english [charset] => UTF-8 [enable_hooks] => 1 [subclass_prefix] => MY_ [permitted_uri_chars] => a-z 0-9~%.:_\- [allow_get_array] => 1 [enable_query_strings] => [controller_trigger] => c [function_trigger] => m [directory_trigger] => d [log_threshold] => 1 [log_path] => [log_date_format] => Y-m-d H:i:s [cache_path] => [encryption_key] => xGcwYfoDMCamzRsXpUnABF8sFYJgRLak6ralFHzR [sess_cookie_name] => ci_session [sess_expiration] => 0 [sess_expire_on_close] => [sess_encrypt_cookie] => [sess_use_database] => 1 [sess_table_name] => ci_sessions [sess_match_ip] => [sess_match_useragent] => 1 [sess_time_to_update] => 300 [cookie_prefix] => [cookie_domain] => [cookie_path] => / [cookie_secure] => [global_xss_filtering] => 1 [csrf_protection] => 1 [csrf_token_name] => csrf_test_name [csrf_cookie_name] => csrf_cookie_name [csrf_expire] => 7200 [compress_output] => [time_reference] => local [rewrite_short_tags] => [proxy_ips] => [datamapper] => Array ( [prefix] => [join_prefix] => [error_prefix] =>
[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [extensions] => Array ( ) ) [template_dir] => ../application/views [cache_dir] => ../application/cache/twig ) [is_loaded] => Array ( [0] => ../application/config//datamapper.php [1] => ../application/config//twig.php ) [_config_paths] => Array ( [0] => ../application/third_party/ [1] => ../application/ ) ) [ci_lang] => DM_Lang Object ( [language] => Array ( [alpha_dash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, and full stops. [alpha_slash_dot] => The %s field may only contain alpha-numeric characters, underscores, dashes, slashes, and full stops. [min_date] => The %s field must be at least %s. [max_date] => The %s field can not exceed %s. [min_size] => The %s field must be at least %s. [max_size] => The %s field can not exceed %s. [transaction] => The %s failed to %s. [unique] => The %s you supplied is already taken. [unique_pair] => The combination of %s and %s you supplied is already taken. [valid_date] => The %s field must contain a valid date. [valid_date_group] => The %2$s fields must contain a valid date. [valid_match] => The %s field may only be %s. [related_required] => The %s relationship is required. [related_min_size] => The %s relationship must be at least %s. [related_max_size] => The %s relationship can not exceed %s. [dm_save_rel_failed] => The %s relationship is not properly defined. [dm_save_rel_nothis] => Unable to save the %s relationship: This object is not saved. [dm_save_rel_noobj] => Unable to save the %s relationship: The related object was not saved. ) [is_loaded] => Array ( [0] => datamapper_lang.php ) ) [prefix] => [join_prefix] => [error_prefix] =>[error_suffix] =>
[created_field] => created [updated_field] => updated [local_time] => [unix_timestamp] => [timestamp_format] => Y-m-d H:i:s [lang_file_format] => model_${model} [field_label_lang_format] => ${model}_${field} [auto_transaction] => [auto_populate_has_many] => [auto_populate_has_one] => [all_array_uses_ids] => [db_params] => [extensions_path] => datamapper [db] => DM_DB_mysqli_driver Object ( [dbdriver] => mysqli [_escape_char] => ` [_like_escape_str] => [_like_escape_chr] => [_count_string] => SELECT COUNT(*) AS [_random_keyword] => RAND() [delete_hack] => 1 [use_set_names] => [ar_select] => Array ( ) [ar_distinct] => [ar_from] => Array ( ) [ar_join] => Array ( ) [ar_where] => Array ( ) [ar_like] => Array ( ) [ar_groupby] => Array ( ) [ar_having] => Array ( ) [ar_keys] => Array ( ) [ar_limit] => [ar_offset] => [ar_order] => [ar_orderby] => Array ( ) [ar_set] => Array ( ) [ar_wherein] => Array ( ) [ar_aliased_tables] => Array ( ) [ar_store_array] => Array ( ) [ar_caching] => [ar_cache_exists] => Array ( ) [ar_cache_select] => Array ( ) [ar_cache_from] => Array ( ) [ar_cache_join] => Array ( ) [ar_cache_where] => Array ( ) [ar_cache_like] => Array ( ) [ar_cache_groupby] => Array ( ) [ar_cache_having] => Array ( ) [ar_cache_orderby] => Array ( ) [ar_cache_set] => Array ( ) [ar_no_escape] => Array ( ) [ar_cache_no_escape] => Array ( ) [username] => finishdbuser [password] => X#[zt8g97Z}eXE7N [hostname] => 127.0.0.1 [database] => finish [dbprefix] => [char_set] => utf8 [dbcollat] => utf8_general_ci [autoinit] => 1 [swap_pre] => [port] => [pconnect] => 1 [conn_id] => mysqli Object ( [affected_rows] => [client_info] => [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => [error] => [error_list] => [field_count] => [host_info] => [info] => [insert_id] => [server_info] => [server_version] => [stat] => [sqlstate] => [protocol_version] => [thread_id] => [warning_count] => ) [result_id] => mysqli_result Object ( [current_field] => [field_count] => [lengths] => [num_rows] => [type] => ) [db_debug] => 1 [benchmark] => 0.095112085342407 [query_count] => 3 [bind_marker] => ? [save_queries] => 1 [queries] => Array ( [0] => INSERT INTO `ci_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES ('6430eaac6eee055b9b7e8d969f7b0e4a', '23.23.137.202', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amaz', 1745999210, '') [1] => DESCRIBE `news` [2] => DESCRIBE `images` [3] => SELECT `news`.`id`, `news`.`slug`, `news`.`title`, `news`.`display_date`, `news`.`body`, `news`.`link`, `news`.`link_label`, `news`.`image_id`, `news`.`lightbox`, `news`.`lightbox_label`, `images`.`title` AS image_title, `images`.`caption` AS image_caption, `images`.`uri` AS image_uri, `images`.`created` AS image_created, `images`.`updated` AS image_updated FROM (`news`) LEFT OUTER JOIN `images` images ON `images`.`id` = `news`.`image_id` WHERE `news`.`slug` = 'great-windmill-street-save-soho-independent-shops' [4] => SELECT `news`.`id`, `news`.`slug` FROM (`news`) WHERE `news`.`live` = 1 ORDER BY `news`.`display_date` desc [5] => DESCRIBE `home` [6] => SELECT `home`.`news_colour_hex`, `home`.`news_colour_rgb` FROM (`home`) WHERE `home`.`id` = 1 ) [query_times] => Array ( [0] => 0.093316078186035 [1] => 0.00095200538635254 [2] => 0.00077700614929199 [3] => 0.00084400177001953 [4] => 0.0003960132598877 [5] => 0.00087404251098633 [6] => 0.00020909309387207 ) [data_cache] => Array ( ) [trans_enabled] => 1 [trans_strict] => 1 [_trans_depth] => 0 [_trans_status] => 1 [cache_on] => [cachedir] => [cache_autodel] => [CACHE] => [_protect_identifiers] => 1 [_reserved_identifiers] => Array ( [0] => * ) [stmt_id] => [curs_id] => [limit_used] => [stricton] => [_has_shutdown_hook] => 1 ) [extensions] => Array ( [_methods] => Array ( ) ) [id] => [display_date] => [title] => [image_id] => [body] => [link] => [link_label] => [colour_hex] => [colour_rgb] => [lightbox] => [lightbox_label] => [slug] => [live] => [created] => [updated] => ) [next_news_slug] => creating-the-spirit-of-soho [spot_colour_hex] => 31cc62 [spot_colour_rgb] => 49,204,98 [background_image] => /img/backgrounds/news.jpg [search_form] =>161 $data['clipsstring'] = $this->session->userdata('clips'); 162 $arr = explode('-',$this->session->userdata('clips')); 163 if(strlen($arr[0]) == 0) array_pop($arr); 164 $data['clip_count'] = count($arr); 165 166 $this->twig->display('news/view.html', $data); 167 168 } 169 170 private function _get_lightbox_images($folder) 171 {
-
/srv/www/site/system/core/CodeIgniter.php [ 359 ] » News->view(arguments)
0
great-windmill-street-save-soho-independent-shops
354 } 355 } 356 357 // Call the requested method. 358 // Any URI segments present (besides the class/function) will be passed to the method for convenience 359 call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, 2)); 360 } 361 362 363 // Mark a benchmark end point 364 $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');
-
FCPATH/index.php [ 218 ] » require_once(arguments)
0
/srv/www/site/system/core/CodeIgniter.php
213 * -------------------------------------------------------------------- 214 * 215 * And away we go... 216 * 217 */ 218 require_once BASEPATH.'core/CodeIgniter.php'; 219 220 /* End of file index.php */ 221 /* Location: ./index.php */