function register($actions) { if (empty($this->media)) { $this->init(); } $actions[$this->action] = array($this->label, false); return $actions; }