function __construct() { parent::__construct(); $this->projectid = JRequest::getInt('p', 0); $this->personid = JRequest::getInt('pid', 0); $this->teamid = JRequest::getInt('tid', 0); }
public function __construct() { parent::__construct(); $app = JFactory::getApplication(); $jinput = $app->input; $this->projectid = JLHelperFront::stringToInt($jinput->getInt('p', 0)); $this->personid = JLHelperFront::stringToInt($jinput->getInt('pid', 0)); }