Exemplo n.º 1
0
 public function __construct($attributes = array(), Item $relatedItem = null, $serial = '')
 {
     parent::__construct($attributes, $relatedItem, $serial);
     $this->body = new ContainerStatic('', $relatedItem);
     //@todo: implement interactive container
 }
Exemplo n.º 2
0
 /**
  * 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);
 }
Exemplo n.º 3
0
 /**
  * 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);
 }