/** * @see ProjectLogInterface::list_items() * @return array */ public function list_items() { if ($this->log_id and $this->log) { return ProjectLogHasItem::get_items_by_log_id($this->log_id); } else { return null; } }