当前位置: 首页>>代码示例>>PHP>>正文


PHP JTableObserverContenthistory类代码示例

本文整理汇总了PHP中JTableObserverContenthistory的典型用法代码示例。如果您正苦于以下问题:PHP JTableObserverContenthistory类的具体用法?PHP JTableObserverContenthistory怎么用?PHP JTableObserverContenthistory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了JTableObserverContenthistory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$db  Database connector object
  *
  * @since   1.5
  */
 public function __construct(&$db)
 {
     parent::__construct('#__banners', 'id', $db);
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_banners.banner'));
     $this->created = JFactory::getDate()->toSql();
     $this->setColumnAlias('published', 'state');
 }
开发者ID:SysBind,项目名称:joomla-cms,代码行数:14,代码来源:banner.php

示例2: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$_db  Database connector object
  *
  * @since   1.5
  */
 public function __construct(&$_db)
 {
     parent::__construct('#__banners', 'id', $_db);
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_banners.banner'));
     $date = JFactory::getDate();
     $this->created = $date->toSql();
 }
开发者ID:Tommar,项目名称:remate,代码行数:14,代码来源:banner.php

示例3: __construct

 /**
  * 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');
 }
开发者ID:eshiol,项目名称:joomla-cms,代码行数:14,代码来源:category.php

示例4: __construct

 function __construct(&$db)
 {
     parent::__construct('#__digicom_products', 'id', $db);
     // Set the published column alias
     $this->setColumnAlias('published', 'published');
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_digicom.product'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_digicom.product'));
 }
开发者ID:Shtier,项目名称:digicom,代码行数:8,代码来源:product.php

示例5: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  A database connector object
  *
  * @since   11.1
  */
 public function __construct(JDatabaseDriver $db)
 {
     parent::__construct('#__content', 'id', $db);
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_content.article'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_content.article'));
     // Set the alias since the column is called state
     $this->setColumnAlias('published', 'state');
 }
开发者ID:adjaika,项目名称:J3Base,代码行数:15,代码来源:content.php

示例6: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$db  A database connector object
  *
  * @since   1.5
  */
 public function __construct(&$db)
 {
     parent::__construct('#__weblinks', 'id', $db);
     // Set the published column alias
     $this->setColumnAlias('published', 'state');
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_weblinks.weblink'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_weblinks.weblink'));
 }
开发者ID:N6REJ,项目名称:weblinks,代码行数:15,代码来源:weblink.php

示例7: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$db  Database connector object
  *
  */
 public function __construct(&$db)
 {
     parent::__construct('#__knvbapi2_selecties', 'id', $db);
     $date = JFactory::getDate();
     $user = JFactory::getUser();
     $this->created = $date->toSQL();
     $this->created_by = $user->id;
     $this->modified = $date->toSQL();
     $this->modified_by = $user->id;
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_knvbapi2.selectie'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_knvbapi2.selectie'));
 }
开发者ID:esorone,项目名称:efcpw,代码行数:18,代码来源:selecties.php

示例8: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$db  Database connector object
  *
  * @since   1.0
  */
 public function __construct(&$db)
 {
     parent::__construct('#__proveedor_details', 'id', $db);
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_proveedor.proveedor'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_proveedor.proveedor'));
 }
开发者ID:Ricardolau,项目名称:comp_proveedor,代码行数:13,代码来源:proveedor.php

示例9: __construct

 /**
  * Constructor
  *
  * @param object Database connector object
  */
 function __construct(&$db)
 {
     parent::__construct('#__costbenefitprojection_intervention', 'id', $db);
     // Adding History Options
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_costbenefitprojection.intervention'));
 }
开发者ID:namibia,项目名称:CBP-Joomla-3-Component,代码行数:11,代码来源:intervention.php

示例10: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$db  A database connector object
  */
 public function __construct(&$db)
 {
     parent::__construct('#__newsfeeds', 'id', $db);
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_newsfeeds.newsfeed'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_newsfeeds.newsfeed'));
 }
开发者ID:grlf,项目名称:eyedock,代码行数:11,代码来源:newsfeed.php

示例11: __construct

 public function __construct(&$_db)
 {
     parent::__construct('#__ksenmart_products', 'id', $_db);
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_ksenmart.product'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_ksenmart.product'));
 }
开发者ID:JexyRu,项目名称:Ksenmart,代码行数:6,代码来源:products.php

示例12: __construct

 /**
  * 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'));
 }
开发者ID:brenot,项目名称:forumdesenvolvimento,代码行数:10,代码来源:tag.php

示例13: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  &$_db  Database connector object
  *
  * @since   1.5
  */
 public function __construct(&$_db)
 {
     $this->checked_out_time = $_db->getNullDate();
     parent::__construct('#__banner_clients', 'id', $_db);
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_banners.client'));
 }
开发者ID:ziyou-liu,项目名称:1line,代码行数:13,代码来源:client.php

示例14: __construct

 /**
  * Constructor
  *
  * @param  JDatabaseDriver  &$db  Database object
  *
  * @since  2.5
  */
 public function __construct(&$db)
 {
     parent::__construct('#__user_notes', 'id', $db);
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_users.note'));
 }
开发者ID:ziyou-liu,项目名称:1line,代码行数:12,代码来源:note.php

示例15: __construct

 /**
  * Constructor
  *
  * @param   JDatabaseDriver  $db  A database connector object
  *
  * @since   11.1
  */
 public function __construct(JDatabaseDriver $db)
 {
     parent::__construct('#__content', 'id', $db);
     JTableObserverTags::createObserver($this, array('typeAlias' => 'com_content.article'));
     JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_content.article'));
 }
开发者ID:educakanchay,项目名称:kanchay,代码行数:13,代码来源:content.php


注:本文中的JTableObserverContenthistory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。