public function __construct($attributes = array(), Item $relatedItem = null, $serial = '') { parent::__construct($attributes, $relatedItem, $serial); $this->body = new ContainerStatic('', $relatedItem); //@todo: implement interactive container }
/** * Short description of method __construct * * @access public * @author Sam, <*****@*****.**> * @param array $attributes * @return mixed */ public function __construct($attributes = array()) { // override the tool options ! $attributes['toolName'] = PRODUCT_NAME; $attributes['toolVersion'] = TAO_VERSION; // create container $this->body = new ContainerItemBody('', $this); parent::__construct($attributes); }
/** * Short description of method __construct * * @access public * @author Sam, <*****@*****.**> * @param array $attributes * @return mixed */ public function __construct($attributes = array()) { // override the tool options ! $attributes['toolName'] = PRODUCT_NAME; $attributes['toolVersion'] = \tao_models_classes_TaoService::singleton()->getPlatformVersion(); // create container $this->body = new ContainerItemBody('', $this); parent::__construct($attributes); }