コード例 #1
0
 /**
  * Object initialization
  *
  * @param UserIssue\Collection $collection Collection
  */
 public function __construct(UserIssue\Collection $collection)
 {
     parent::__construct($collection);
 }
コード例 #2
0
 /**
  * Get first row
  *
  * @param Entity $entity Entity
  *
  * @return $this
  */
 public function loadFirstRow(Entity $entity)
 {
     $this->_sqlObject = $this->_sql->select($entity->getTableName());
     $this->_sqlObject->limit(1);
     return $this;
 }