$prop); } $properties[] = array( 'name' => 'color', 'type' => 'colorpicker', 'label' => lang('Color'), ); return $properties; } /** * Return a list of allowable actions for the portlet. * * These actions will be merged with the default portlet actions. Use the * same id / key to override the default action. */ public abstract function get_actions(); /** * If this portlet can accept, display, or otherwise handle multiple * EgroupWare entries. Used for drag and drop processing. How the entries * are handled are up to the portlet. */ public function accept_multiple() { return false; } public function __toString() { return get_called_class() . ' Context:' . array2string($this->context); } }