/**
  * Construct a new ticket
  *
  * @param mixed $id
  */
 function __construct($id = null)
 {
     parent::__construct();
     $this->setModule(SOURCE_MODULE);
 }
 /**
  * Construct a new repository
  *
  * @param int $id
  */
 function __construct()
 {
     parent::__construct();
     $this->setModule(GITHUB_MODULE);
 }
 /**
  * Construct a new ticket
  *
  * @param mixed $id
  * @return Ticket
  */
 function __construct($id = null)
 {
     $this->setModule(TICKETS_MODULE);
     parent::__construct($id);
 }
 /**
  * Construct comment object
  *
  * @param mixed $id
  * @return Comment
  */
 function __construct($id = null)
 {
     $this->setModule(RESOURCES_MODULE);
     $this->protect[] = 'name';
     parent::__construct($id);
 }
 /**
  * Constructor
  *
  * @param void
  * @return Milestone
  */
 function __construct($id = null)
 {
     $this->setModule(MILESTONES_MODULE);
     parent::__construct($id);
 }
Esempio n. 6
0
 /**
  * Construct tasks
  *
  * @param mixed $id
  * @return Task
  */
 function __construct($id = null)
 {
     $this->setModule(RESOURCES_MODULE);
     parent::__construct($id);
 }
 /**
  * Construct a new repository
  *
  * @param int $id
  */
 function __construct()
 {
     parent::__construct();
     $this->setModule(SOURCE_MODULE);
     $this->update_types = source_module_update_types();
     $this->types = source_module_types();
 }
 /**
  * Construct checklist
  *
  * @param mixed $id
  * @return Checklist
  */
 function __construct($id = null)
 {
     $this->setModule(CHECKLISTS_MODULE);
     parent::__construct($id);
 }
 /**
  * Construct a new TimeRecord
  *
  * @param mixed $id
  * @return TimeRecord
  */
 function __construct($id = null)
 {
     $this->setModule(TIMETRACKING_MODULE);
     parent::__construct($id);
 }