/** * getCSS * * get the stylesheet to show selection box. * * @param type $method * @return type */ public function getCSS($method) { $array_css = parent::getCSS($method); $local_css = CSS::getPath('01-jquery-ui.css'); $array_css[] = $local_css; return $array_css; }
public function __construct($label, array $sources, $class, array $construct_params = array(), $method = 'showView', array $method_params = array(), $flags = null, $searchOp = null) { $this->class = $class; $this->construct_params = $construct_params; $this->method = $method; $this->method_params = $method_params; parent::__construct($label, $sources, $flags, null, $searchOp); }
/** * @param null|string $label * @param Date $source * @param string $viewFormat Format as http://php.net/manual/en/dateinterval.format.php * @param null|string $flags * @param null|string $searchOp * @throws Exception */ public function __construct($label, $source, $viewFormat = '%d days, %m months, %y years', $flags = null, $searchOp = null) { $this->view_format = $viewFormat; if ($source instanceof Date) { parent::__construct($label, array($source), $flags, $searchOp); } else { throw new Exception('Source must be of type \\SimplOn\\Data\\Date.'); } }
public function __construct($label, array $sources, $class, array $construct_params = array(), $method = 'showView', array $method_params = array(), $flags = null, $searchOp = null) { $this->class = $class; //class name to access $this->construct_params = $construct_params; //parameters to pass to the constructor of the class $this->method = $method; //method name to access $this->method_params = $method_params; //parameters to pass to method parent::__construct($label, $sources, $flags, $searchOp); }
function cssSelector($append = '', $nestingLevel = null) { return parent::cssSelector('.Action' . $append, $nestingLevel); }