Example #1
0
 public function __construct(Factory $factory, $name, $id = Null)
 {
     // 		$this->ref = microtime(true);
     if (!is_numeric($id)) {
         $id = (int) "{$id}";
     }
     parent::__construct($factory, $id);
     $this->name = Name::create($name);
 }
 public function __construct(Factory $factory, $link, $title, array $tags = array(), $id = 0)
 {
     parent::__construct($factory, $id);
     $this->link = trim($link);
     $this->title = $title;
     foreach ($tags as $tag) {
         $this->addTag($tag);
     }
 }
Example #3
0
 function __construct($namespace)
 {
     parent::__construct($namespace);
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
 }