public function reduce(array $params = array(), $cache = true) { $uuid = Registry::set($this, null, true); return array_merge(parent::reduce($params), array('uuid' => $uuid, 'obj' => $this->_collection->reduce($params, $cache))); }
/** * Table constructor * * @param string $id * @param integer $disposition * @param array $params */ public function __construct($id, $disposition = self::DISP_COLS, $params = array()) { $this->_disposition = $disposition; parent::__construct($id, $params); }
public function __construct($id = null, array $params = null) { $this->_setParameterObjects(array('open_default' => new Parameter(Parameter::BOOLEAN, true), 'columns' => new Parameter(Parameter::BOOLEAN, false), 'locked' => new Parameter(Parameter::BOOLEAN, false))); parent::__construct($id, $params); }
public function __construct($id = null, array $params = null) { parent::__construct($id, $params); }
public function register($placeHolder = View::PH_DEFAULT, array $params = null, $clone = false) { $res = parent::register($placeHolder, $params, $clone); if ($res !== false) { $this->_context['rid'] = $res; } return $res; }
public function reduce(array $params = array()) { $type = get_class($this); $type = lcfirst(substr($type, strrpos($type, '\\') + 1)); $array = array('type' => $type, 'label' => $this->_title, 'value' => is_object($this->_value) && $this->_value->getIdentifier() ? $this->_value->getIdentifier() : null, 'constraints' => $this->_is); return array_merge($array, parent::reduce($params)); }