Exemple #1
0
 /**
  *	Inits object for cell
  *
  * 	@param 		RM_List_Row
  *	@return object
  **/
 protected function _initObject(RM_List_Row $row)
 {
     if (!$this->_column->init_object) {
         throw new RM_Base_Exception_BadUsage("No method for the object initiation has given in column `" . $this->_column->header() . "'");
     }
     return M('Tools')->handler()->execute($this->_column->init_object, $this->_simple->code($row));
 }
Exemple #2
0
 /**
  *	Returns class name for the object's cell
  *
  *	@return string
  **/
 public function className()
 {
     return $this->_strategy->className();
 }