/** * @param bool $id = false * @return CList|int */ public function getList($id = false) { if ($id === true) { return $this->list->getStringId(); } return $this->list; }