Exemple #1
0
 public function __construct($plgParams)
 {
     if (!$this->isAvailable()) {
         return false;
     }
     parent::__construct($plgParams);
     $this->table = JTable::getInstance('content');
 }
Exemple #2
0
 public function __construct($plgParams)
 {
     if (!$this->isAvailable()) {
         return false;
     }
     parent::__construct($plgParams);
     $db = JFactory::getDbo();
     $this->table = new TableK2Item($db);
 }