Ejemplo n.º 1
0
 /**
  * Method to get a single record.
  *
  * @param   integer  $pk  The id of the primary key.
  *
  * @return  mixed    Object on success, false on failure.
  */
 public function getItem($pk = null)
 {
     $item = parent::getItem($pk);
     if ($item) {
         $item->text = $item->introtext . '<hr id="system-readmore" />' . $item->fulltext;
     }
     return $item;
 }
Ejemplo n.º 2
0
 /**
  * Method to get a single record.
  *
  * @param   integer  $pk  The id of the primary key.
  *
  * @return  mixed    Object on success, false on failure.
  */
 public function getItem($pk = null)
 {
     return parent::getItem($pk);
 }