예제 #1
0
	/**
	 * Constructor
	 *
	 * @param   database  &$db  A database connector object
	 *
	 * @return  JTableMenu
	 *
	 * @since   11.1
	 */
	public function __construct(&$db)
	{
		parent::__construct('#__menu', 'id', $db);

		// Set the default access level.
		$this->access = (int) JFactory::getConfig()->get('access');
	}
예제 #2
0
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  Database driver object.
  *
  * @since   11.1
  */
 public function __construct(JDatabaseDriver $db)
 {
     parent::__construct('#__categories', 'id', $db);
     JTableObserverTags::createObserver($this, array('typeAlias' => '{extension}.category'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => '{extension}.category'));
     $this->access = (int) JFactory::getConfig()->get('access');
 }
예제 #3
0
 public function __construct(JDatabaseDriver $db)
 {
     parent::__construct('#__jem_categories', 'id', $db);
     if (self::addRoot() !== false) {
         return;
     }
 }
예제 #4
0
 function mosCategory(&$db)
 {
     ///parent::__construct( $db );
     // for 1.6
     JTableNested::__construct('#__booklibrary_legacy_categories', 'id', $db);
     $this->access = (int) JFactory::getConfig()->get('access');
     // --
 }
예제 #5
0
 public function __construct(&$db)
 {
     $this->_comment_interval = 0;
     $this->_comment_interval_same_document = 0;
     $this->_comment_latest = 0;
     $this->_comment_latest_same_document = 0;
     parent::__construct('#__judownload_comments', 'id', $db);
 }
예제 #6
0
 public function __construct(&$db)
 {
     $this->_comment_interval = 0;
     $this->_comment_interval_same_listing = 0;
     $this->_comment_latest = 0;
     $this->_comment_latest_same_listing = 0;
     parent::__construct('#__judirectory_comments', 'id', $db);
 }
예제 #7
0
 public function __construct($table, $key = 'id', $alias = null, $db = null)
 {
     $this->_alias = $alias;
     if (!isset($db)) {
         $db = JFactory::getDbo();
     }
     parent::__construct($table, $key, $db);
 }
예제 #8
0
 /**
  * Constructor
  *
  * @param   object  $db A database connector object
  * @since   1.5.5
  */
 public function TableJoomgalleryCategories(&$db)
 {
     parent::__construct(_JOOM_TABLE_CATEGORIES, 'cid', $db);
 }
예제 #9
0
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  A database connector object
  */
 public function __construct($db)
 {
     parent::__construct('#__tags', 'id', $db);
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_tags.tag'));
 }
예제 #10
0
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  Database driver object.
  *
  * @since   11.1
  */
 public function __construct($db)
 {
     parent::__construct('#__categories', 'id', $db);
     $this->access = (int) JFactory::getConfig()->get('access');
     $this->tagsHelper = new JHelperTags();
 }
예제 #11
0
 /**
  * Constructor
  *
  * @param   JDatabase  &$db  A database connector object
  *
  * @since   11.1
  */
 public function __construct(&$db)
 {
     parent::__construct('#__categories', 'id', $db);
     $this->access = (int) JFactory::getConfig()->get('access');
 }
예제 #12
0
 public function __construct(&$db)
 {
     parent::__construct('#__judirectory_addresses', 'id', $db);
 }
예제 #13
0
 /**
  * Constructor
  *
  * @param JDatabaseDriver $db Database driver object.
  *
  * @since   11.1
  */
 public function __construct(JDatabaseDriver $db)
 {
     parent::__construct('#__assets', 'id', $db);
 }
예제 #14
0
 function __construct(&$db)
 {
     parent::__construct('#__' . PREFIX . '_category', 'id', $db);
 }
예제 #15
0
 function __construct(&$db)
 {
     parent::__construct('cb_captochuc', 'id', &$db);
 }
예제 #16
0
 public function __construct(&$db)
 {
     parent::__construct('#__judirectory_template_styles', 'id', $db);
 }
예제 #17
0
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  Database driver object.
  *
  * @since   11.1
  */
 public function __construct(JDatabaseDriver $db)
 {
     $this->typeAlias = '{extension}.category';
     parent::__construct('#__categories', 'id', $db);
     $this->access = (int) JFactory::getConfig()->get('access');
 }
예제 #18
0
 /**
  * @param database A database connector object
  */
 public function __construct(&$db)
 {
     parent::__construct('#__csvi_xmlconfigs', 'id', $db);
 }
예제 #19
0
 public function __construct(&$db)
 {
     parent::__construct('#__judownload_template_styles', 'id', $db);
 }
예제 #20
0
 function __construct(&$db)
 {
     parent::__construct('ins_level', 'id', $db);
 }
예제 #21
0
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  Database driver object.
  *
  * @since   11.1
  */
 public function __construct($db)
 {
     parent::__construct('#__assets', 'id', $db);
 }
예제 #22
0
 function __construct(&$db)
 {
     parent::__construct('#__osemsc_addon', 'id', $db);
     // Initialise.
     //$this->id = 0;
 }
예제 #23
0
파일: tag.php 프로젝트: Rai-Ka/joomla-cms
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  A database connector object
  */
 public function __construct(JDatabaseDriver $db)
 {
     $this->typeAlias = 'com_tags.tag';
     parent::__construct('#__tags', 'id', $db);
 }
예제 #24
0
파일: areas.php 프로젝트: steevo/mapfrance
 /**
  * @param database A database connector object
  */
 function __construct(&$db)
 {
     parent::__construct('#__mapfrance_areas', 'id', $db);
 }
예제 #25
0
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  Database driver object.
  *
  * @since   12.1
  */
 public function __construct($db)
 {
     parent::__construct('#__categories', 'id', $db);
 }
예제 #26
0
 function __construct(&$db)
 {
     parent::__construct('ins_dept_loaihinh', 'id', $db);
 }
예제 #27
0
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$db  A database connector object
  */
 public function __construct(&$db)
 {
     parent::__construct('#__jdeveloper_forms', 'id', $db);
 }
예제 #28
0
 public function __construct(&$db)
 {
     parent::__construct('#__judownload_categories', 'id', $db);
 }
예제 #29
0
 /**
  * Constructor
  *
  * @param   JDatabase  &$db  A database connector object
  *
  * @throws  UnexpectedValueException
  */
 public function __construct(&$db)
 {
     // Keep checking _tbl value for standard defined tables
     if (empty($this->_tbl) && !empty($this->_tableName)) {
         // Add the table prefix
         $this->_tbl = '#__' . $this->_tableName;
     }
     // Keep checking _tbl_key for standard defined tables
     if (empty($this->_tbl_key) && !empty($this->_tableKey)) {
         $this->_tbl_key = $this->_tableKey;
     }
     if (empty($this->_tbl) || empty($this->_tbl_key)) {
         throw new UnexpectedValueException(sprintf('Missing data to initialize %s table | id: %s', $this->_tbl, $this->_tbl_key));
     }
     parent::__construct($this->_tbl, $this->_tbl_key, $db);
 }
예제 #30
0
 function __construct(&$db)
 {
     parent::__construct('cb_goichucvu', 'id', $db);
 }