ドキュメント
メモ
下記の場合、同じクエリが2回実行されている
$category_id = $this->Articles->get(1)->categoriy_id; $author_id = $this->Articles->get(1)->user_id;
下記のようにすれば、クエリ1回の実行で済む
$article = $this->Articles->get(1); $category_id = $article->categoriy_id; $author_id = $article->user_id;