开发者

How can i get id by using $this->uri->segment("parent_id") in kohana 3....

开发者 https://www.devze.com 2023-03-25 20:51 出处:网络
it gives error\"ErrorException [ Notice ]: Undefined property: Controller_Admin_Videocategory::$uri\" .

it gives error "ErrorException [ Notice ]: Undefined property: Controller_Admin_Videocategory::$uri" . P开发者_运维知识库lease advice


It depends on what version you use, but if its the newest and stable - Kohana 3.2, then:

$this->request->param('parent_id');

As explained in here.

0

精彩评论

暂无评论...
验证码 换一张
取 消