Ejemplo n.º 1
0
 /** constructor */
 public function __construct()
 {
     parent::__construct();
     $this->_name = 'packages_application';
     $this->_key = 'application_id';
     $this->_mainData = array('application_id' => array('type' => MIDAS_DATA), 'project_id' => array('type' => MIDAS_DATA), 'name' => array('type' => MIDAS_DATA), 'description' => array('type' => MIDAS_DATA), 'project' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'Project', 'module' => 'packages', 'parent_column' => 'project_id', 'child_column' => 'project_id'));
     $this->initialize();
 }
Ejemplo n.º 2
0
 /** constructor */
 public function __construct()
 {
     parent::__construct();
     $this->_name = 'packages_project';
     $this->_key = 'project_id';
     $this->_mainData = array('project_id' => array('type' => MIDAS_DATA), 'community_id' => array('type' => MIDAS_DATA), 'enabled' => array('type' => MIDAS_DATA), 'community' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'Community', 'parent_column' => 'community_id', 'child_column' => 'community_id'), 'applications' => array('type' => MIDAS_ONE_TO_MANY, 'model' => 'Application', 'module' => 'packages', 'parent_column' => 'project_id', 'child_column' => 'project_id'));
     $this->initialize();
 }
Ejemplo n.º 3
0
 /** constructor */
 public function __construct()
 {
     parent::__construct();
     $this->_name = 'packages_extension';
     $this->_key = 'extension_id';
     $this->_mainData = array('extension_id' => array('type' => MIDAS_DATA), 'item_id' => array('type' => MIDAS_DATA), 'application_id' => array('type' => MIDAS_DATA), 'os' => array('type' => MIDAS_DATA), 'arch' => array('type' => MIDAS_DATA), 'repository_type' => array('type' => MIDAS_DATA), 'repository_url' => array('type' => MIDAS_DATA), 'revision' => array('type' => MIDAS_DATA), 'submissiontype' => array('type' => MIDAS_DATA), 'packagetype' => array('type' => MIDAS_DATA), 'slicer_revision' => array('type' => MIDAS_DATA), 'icon_url' => array('type' => MIDAS_DATA), 'release' => array('type' => MIDAS_DATA), 'productname' => array('type' => MIDAS_DATA), 'codebase' => array('type' => MIDAS_DATA), 'development_status' => array('type' => MIDAS_DATA), 'category' => array('type' => MIDAS_DATA), 'description' => array('type' => MIDAS_DATA), 'enabled' => array('type' => MIDAS_DATA), 'homepage' => array('type' => MIDAS_DATA), 'screenshots' => array('type' => MIDAS_DATA), 'contributors' => array('type' => MIDAS_DATA), 'item' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'Item', 'parent_column' => 'item_id', 'child_column' => 'item_id'), 'application' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'Application', 'module' => 'packages', 'parent_column' => 'application_id', 'child_column' => 'application_id'));
     $this->initialize();
     // required
 }
Ejemplo n.º 4
0
 /** constructor */
 public function __construct()
 {
     parent::__construct();
     $this->_name = 'packages_package';
     $this->_key = 'package_id';
     $this->_mainData = array('package_id' => array('type' => MIDAS_DATA), 'item_id' => array('type' => MIDAS_DATA), 'application_id' => array('type' => MIDAS_DATA), 'os' => array('type' => MIDAS_DATA), 'arch' => array('type' => MIDAS_DATA), 'revision' => array('type' => MIDAS_DATA), 'submissiontype' => array('type' => MIDAS_DATA), 'packagetype' => array('type' => MIDAS_DATA), 'productname' => array('type' => MIDAS_DATA), 'codebase' => array('type' => MIDAS_DATA), 'checkoutdate' => array('type' => MIDAS_DATA), 'release' => array('type' => MIDAS_DATA), 'item' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'Item', 'parent_column' => 'item_id', 'child_column' => 'item_id'), 'application' => array('type' => MIDAS_MANY_TO_ONE, 'model' => 'Application', 'module' => 'packages', 'parent_column' => 'application_id', 'child_column' => 'application_id'));
     $this->initialize();
     // required
 }