Пример #1
0
	function __construct( $params = array() )
	{
		parent::__construct( $params );
	}
Пример #2
0
 function __construct($params = array())
 {
     parent::__construct($params);
     $this->user_id = isset($params['user_id']) ? $params['user_id'] : User::identify()->id;
 }