コード例 #1
0
ファイル: menu.php プロジェクト: nikosdion/Akeeba-Example
	/**
	 * 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
ファイル: category.php プロジェクト: eshiol/joomla-cms
 /**
  * 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
ファイル: categories.php プロジェクト: JKoelman/JEM-3
 public function __construct(JDatabaseDriver $db)
 {
     parent::__construct('#__jem_categories', 'id', $db);
     if (self::addRoot() !== false) {
         return;
     }
 }
コード例 #4
0
ファイル: category.php プロジェクト: rdegennaro/Check-It
 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
ファイル: comment.php プロジェクト: kosmosby/medicine-prof
 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
ファイル: comment.php プロジェクト: ranrolls/ras-full-portal
 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
ファイル: nestedbase.php プロジェクト: Knuckle-ORM/knorm
 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
ファイル: tag.php プロジェクト: brenot/forumdesenvolvimento
 /**
  * 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
ファイル: category.php プロジェクト: GitIPFire/Homeworks
 /**
  * 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
ファイル: category.php プロジェクト: acculitx/fleetmatrixsite
 /**
  * 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
ファイル: address.php プロジェクト: ranrolls/ras-full-portal
 public function __construct(&$db)
 {
     parent::__construct('#__judirectory_addresses', 'id', $db);
 }
コード例 #13
0
ファイル: asset.php プロジェクト: houzhenggang/cobalt
 /**
  * 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
ファイル: chucvu.php プロジェクト: phucdnict/cbcc_05062015
 function __construct(&$db)
 {
     parent::__construct('cb_captochuc', 'id', &$db);
 }
コード例 #16
0
ファイル: style.php プロジェクト: ranrolls/ras-full-portal
 public function __construct(&$db)
 {
     parent::__construct('#__judirectory_template_styles', 'id', $db);
 }
コード例 #17
0
ファイル: category.php プロジェクト: Rai-Ka/joomla-cms
 /**
  * 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
ファイル: style.php プロジェクト: kosmosby/medicine-prof
 public function __construct(&$db)
 {
     parent::__construct('#__judownload_template_styles', 'id', $db);
 }
コード例 #20
0
ファイル: InsLevel.php プロジェクト: phucdnict/cbcc_05062015
 function __construct(&$db)
 {
     parent::__construct('ins_level', 'id', $db);
 }
コード例 #21
0
ファイル: asset.php プロジェクト: GitIPFire/Homeworks
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  Database driver object.
  *
  * @since   11.1
  */
 public function __construct($db)
 {
     parent::__construct('#__assets', 'id', $db);
 }
コード例 #22
0
ファイル: addon.php プロジェクト: kosmosby/medicine-prof
 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
ファイル: nested.php プロジェクト: akirsoft/joomla-cms
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  Database driver object.
  *
  * @since   12.1
  */
 public function __construct($db)
 {
     parent::__construct('#__categories', 'id', $db);
 }
コード例 #26
0
ファイル: loaihinh.php プロジェクト: phucdnict/cbcc_05062015
 function __construct(&$db)
 {
     parent::__construct('ins_dept_loaihinh', 'id', $db);
 }
コード例 #27
0
ファイル: form.php プロジェクト: joshjim27/jobsglobal
 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$db  A database connector object
  */
 public function __construct(&$db)
 {
     parent::__construct('#__jdeveloper_forms', 'id', $db);
 }
コード例 #28
0
ファイル: category.php プロジェクト: kosmosby/medicine-prof
 public function __construct(&$db)
 {
     parent::__construct('#__judownload_categories', 'id', $db);
 }
コード例 #29
0
ファイル: nested.php プロジェクト: prox91/joomla-dev
 /**
  * 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
ファイル: goichucvu.php プロジェクト: phucdnict/cbcc_05062015
 function __construct(&$db)
 {
     parent::__construct('cb_goichucvu', 'id', $db);
 }