{"id":84,"date":"2008-09-29T18:38:47","date_gmt":"2008-09-29T23:38:47","guid":{"rendered":"http:\/\/osric.com\/chris\/accidental-developer\/?p=84"},"modified":"2009-01-29T11:03:10","modified_gmt":"2009-01-29T16:03:10","slug":"little-cakephp-note","status":"publish","type":"post","link":"https:\/\/osric.com\/chris\/accidental-developer\/2008\/09\/little-cakephp-note\/","title":{"rendered":"Little CakePHP note"},"content":{"rendered":"<p>If you&#8217;re in the view and you want to use a function that&#8217;s part of your controller object, you can get at it by using $this-&gt;controller-&gt;function_name(vars); This is exactly how it should be, but is not really in the documentation. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re in the view and you want to use a function that&#8217;s part of your controller object, you can get at it by using $this-&gt;controller-&gt;function_name(vars); This is exactly how it should be, but is not really in the documentation.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[55],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-php","tag-cakephp"],"_links":{"self":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":2,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":149,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/84\/revisions\/149"}],"wp:attachment":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}