Code |
Context if (!empty($page['Post']['custom_data'])) {
$this->set('meta', array(
'description' => $page['Post']['custom_data']['meta_description']
$slug = "san-diego-photos"
$this = PostsController
PostsController::$name = "Posts"
PostsController::$type = "post"
PostsController::$uses = array
PostsController::$theme = "greenish"
PostsController::$acceptedTypes = array
PostsController::$allowedActions = array
PostsController::$components = array
PostsController::$helpers = array
PostsController::$view = "Smarty"
PostsController::$admin = false
PostsController::$here = "/articles/san-diego-photos"
PostsController::$webroot = "/"
PostsController::$action = "view"
PostsController::$params = array
PostsController::$data = NULL
PostsController::$paginate = array
PostsController::$viewPath = "posts"
PostsController::$layoutPath = NULL
PostsController::$viewVars = array
PostsController::$modelNames = array
PostsController::$base = ""
PostsController::$layout = "inner-pages"
PostsController::$autoRender = true
PostsController::$autoLayout = true
PostsController::$Component = Component object
PostsController::$ext = ".ctp"
PostsController::$output = NULL
PostsController::$plugin = NULL
PostsController::$cacheAction = false
PostsController::$persistModel = false
PostsController::$passedArgs = array
PostsController::$scaffold = false
PostsController::$methods = array
PostsController::$modelClass = "Post"
PostsController::$modelKey = "post"
PostsController::$validationErrors = NULL
PostsController::$__httpCodes = NULL
PostsController::$Acl = AclComponent object
PostsController::$Auth = AuthComponent object
PostsController::$Session = SessionComponent object
PostsController::$Cookie = CookieComponent object
PostsController::$RequestHandler = RequestHandlerComponent object
PostsController::$Post = Post object
PostsController::$PostStatus = PostStatus object
PostsController::$PostCustomField = PostCustomField object
PostsController::$config = Config object
PostsController::$_block = array
$smarty = SmartyView
SmartyView::$Template = Template object
SmartyView::$loadedTpl = NULL
SmartyView::$base = ""
SmartyView::$here = "/articles/san-diego-photos"
SmartyView::$plugin = NULL
SmartyView::$name = "Posts"
SmartyView::$action = "view"
SmartyView::$params = array
SmartyView::$passedArgs = array
SmartyView::$data = NULL
SmartyView::$helpers = array
SmartyView::$viewPath = "posts"
SmartyView::$viewVars = array
SmartyView::$layout = "default"
SmartyView::$layoutPath = NULL
SmartyView::$autoRender = true
SmartyView::$autoLayout = true
SmartyView::$ext = ".tpl"
SmartyView::$subDir = NULL
SmartyView::$theme = "greenish"
SmartyView::$cacheAction = false
SmartyView::$validationErrors = array
SmartyView::$hasRendered = false
SmartyView::$loaded = array
SmartyView::$modelScope = false
SmartyView::$model = NULL
SmartyView::$association = NULL
SmartyView::$field = NULL
SmartyView::$fieldSuffix = NULL
SmartyView::$modelId = NULL
SmartyView::$uuids = array
SmartyView::$output = false
SmartyView::$__passedVars = array
SmartyView::$__scripts = array
SmartyView::$__paths = array
SmartyView::$webroot = "/"
$page = array(
"Post" => array(
"id" => "22",
"title" => "San Diego Photos",
"content" => "<p>
<a href="http://pictures.discoversd.com/">San Diego Photos</a></p>
<p>
Website with photos of San Diego.</p>
",
"custom_data" => array(),
"type" => "post",
"slug" => "san-diego-photos",
"layout" => "inner-pages",
"status" => "3",
"created" => "2012-01-10 19:00:29",
"modified" => "2012-01-10 19:00:37"
),
"PostCategory" => array(
array()
)
)
CmsController::view() - APP/controllers/cms_controller.php, line 147
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 28