예제 #1
0
 /**
  * Constructor.
  *
  * @param array $data
  */
 public function __construct(array $data)
 {
     parent::__construct($data);
     $this->title = isset($data['title']) ? $data['title'] : null;
     if (null !== $this->name && false !== strpos($this->name, ':')) {
         list($this->ncName, $this->reference) = explode(':', $this->name, 2);
     }
 }
예제 #2
0
 public function __construct($id, $callback, $callDecorator = null)
 {
     parent::__construct($id);
     Args::callBackArgs($callback, 1, 'callback');
     $this->eventBehaviour = new AjaxEventBehaviour('onclick', $callback);
     $this->add($this->eventBehaviour);
     $this->callback = $callback;
 }
 function __construct($hp = 0)
 {
     parent::__construct();
     $this->set_type(LINK_EXERCISE);
     $this->is_hp = $hp;
     if ($this->is_hp == 1) {
         $this->set_type(LINK_HOTPOTATOES);
     }
 }
 function __construct()
 {
     parent::__construct();
     $this->set_type(LINK_LEARNPATH);
 }
예제 #5
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->set_type(LINK_FORUM_THREAD);
 }
예제 #6
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->set_type(LINK_ATTENDANCE);
 }
예제 #7
0
 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->set_type(LINK_STUDENTPUBLICATION);
 }
예제 #9
0
 public function __construct($id, $callback)
 {
     parent::__construct($id);
     Args::callBack($callback, 'callback');
     $this->callback = $callback;
 }
예제 #10
0
 public function __construct()
 {
     parent::__construct();
     $this->set_type(LINK_SURVEY);
 }
예제 #11
0
파일: anchor.php 프로젝트: leon-mbs/zippy
 public function __construct($id, $name = '')
 {
     parent::__construct($id);
     $this->name = $name;
 }