當前位置: 首頁>>代碼示例>>PHP>>正文


PHP JCategories::__construct方法代碼示例

本文整理匯總了PHP中JCategories::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP JCategories::__construct方法的具體用法?PHP JCategories::__construct怎麽用?PHP JCategories::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在JCategories的用法示例。


在下文中一共展示了JCategories::__construct方法的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Class constructor
  *
  * @param   array  $options  Array of options
  *
  * @since   11.1
  */
 public function __construct($options = array())
 {
     $options['table'] = '#__content';
     $options['extension'] = 'com_content';
     $options['access'] = false;
     parent::__construct($options);
 }
開發者ID:SysBind,項目名稱:joomla-cms,代碼行數:14,代碼來源:JCategoriesMock.php

示例2: __construct

 public function __construct($options = array())
 {
     $options['table'] = '#__content';
     $options['extension'] = 'com_content';
     $options['allLanguages'] = true;
     parent::__construct($options);
 }
開發者ID:ngxuanmui,項目名稱:thongtinonline.net,代碼行數:7,代碼來源:category.php

示例3: __construct

 /**
  * Class constructor
  *
  * @param   array  $options  Array of options
  *
  * @since   11.1
  */
 public function __construct($options = array())
 {
     $options['table'] = '#__catalogue_item';
     $options['extension'] = 'com_catalogue';
     $options['field'] = 'category_id';
     parent::__construct($options);
 }
開發者ID:saity74,項目名稱:joomla-catalogue-component,代碼行數:14,代碼來源:category.php

示例4: __construct

 public function __construct($options = array())
 {
     $options['table'] = '#__newsfeeds';
     $options['extension'] = 'com_newsfeeds';
     $options['statefield'] = 'published';
     parent::__construct($options);
 }
開發者ID:christianesperar,項目名稱:joomla-example,代碼行數:7,代碼來源:category.php

示例5: __construct

	/**
	 * Constructor Helper
	 *
	 * @param   array  $options  Array of options
	 *
	 * @since    1.5
	 */
	public function __construct($options = [])
	{
		$options['table']      = '#__churchdirectory_details';
		$options['extension']  = 'com_churchdirectory';
		$options['statefield'] = 'published';
		parent::__construct($options);
	}
開發者ID:Joomla-Bible-Study,項目名稱:joomla_churchdirectory,代碼行數:14,代碼來源:category.php

示例6: __construct

 public function __construct($options = array())
 {
     //echo 'EXTENDS JCATEGORIES';
     $options['table'] = '#__imc_issues';
     $options['extension'] = 'com_imc';
     parent::__construct($options);
 }
開發者ID:Ricardolau,項目名稱:imc,代碼行數:7,代碼來源:category.php

示例7: __construct

 /**
  * Name of the items state field
  *
  * @var    string
  * @since  1.0.0
  */
 public function __construct($options = array())
 {
     $options['statefield'] = 'published';
     $options['table'] = '#__digicom_products';
     $options['extension'] = 'com_digicom';
     parent::__construct($options);
 }
開發者ID:Shtier,項目名稱:digicom,代碼行數:13,代碼來源:category.php

示例8: __construct

 public function __construct($options = array())
 {
     $options['table'] = '#__jevents_vevent';
     $options['field'] = 'catid';
     $options['key'] = 'ev_id';
     $options['extension'] = 'com_jevents';
     parent::__construct($options);
 }
開發者ID:madcsaba,項目名稱:li-de,代碼行數:8,代碼來源:category.php

示例9: __construct

 public function __construct($options = array())
 {
     $options['table'] = '#__smfaq';
     $options['extension'] = 'com_smfaq';
     $options['access'] = false;
     $options['statefield'] = 'published';
     //$options['published'] = false;
     $options['countItems'] = true;
     parent::__construct($options);
 }
開發者ID:ASDAFF,項目名稱:smfaq,代碼行數:10,代碼來源:category.php

示例10: __construct

 /**
  * Initialize the object.
  *
  * <code>
  * $options = array(
  *     "published" => '1',
  *     "key" => 'id'
  * );
  *
  * $categories   = new Userideas\Category\Categories($options);
  * </code>
  *
  * @param array $options
  */
 public function __construct($options = array())
 {
     $options['table'] = '#__uideas_items';
     $options['extension'] = 'com_userideas';
     parent::__construct($options);
 }
開發者ID:bellodox,項目名稱:UserIdeas,代碼行數:20,代碼來源:Categories.php

示例11: __construct

 /**
  * Constructor
  *
  * @param   array  $options  Array of options
  *
  * @since   1.6
  */
 public function __construct($options = array())
 {
     $options['table'] = '#__banners';
     $options['extension'] = 'com_banners';
     parent::__construct($options);
 }
開發者ID:adjaika,項目名稱:J3Base,代碼行數:13,代碼來源:category.php

示例12: __construct

 /**
  * Initialize the object.
  *
  * <code>
  * $options = array(
  *     "extension" => 'com_emailtemplates',
  *     "table" => 'email',
  *     "field" => 'catid',
  *     "key" => 'id',
  *     "statefield" => 'state',
  *     "statefield" => 'state',
  *     "published" => 1,
  * );
  *
  * $categories   = new Emailtemplates\Categories($options);
  * </code>
  *
  * @param array $options
  */
 public function __construct($options = array())
 {
     $options['table'] = '#__emailtemplates_emails';
     $options['extension'] = 'com_emailtemplates';
     parent::__construct($options);
 }
開發者ID:ITPrism,項目名稱:CrowdfundingDistribution,代碼行數:25,代碼來源:Categories.php

示例13: __construct

 public function __construct($options = array())
 {
     $options['table'] = '';
     $options['extension'] = 'com_jnt_hanhphuc';
     parent::__construct($options);
 }
開發者ID:ngxuanmui,項目名稱:hp3,代碼行數:6,代碼來源:category.php

示例14: __construct

 /**
  * Class constructor
  *
  * @param   array  $options  Array of options
  *
  * @since   11.1
  */
 public function __construct($options = array())
 {
     $options['extension'] = 'com_akrecipes';
     $options['table'] = '#__content';
     parent::__construct($options);
 }
開發者ID:rutvikd,項目名稱:ak-recipes,代碼行數:13,代碼來源:category.php


注:本文中的JCategories::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。