3 namespace Friendica\Repository;
5 use Friendica\BaseRepository;
6 use Friendica\Collection;
9 class Introduction extends BaseRepository
11 protected static $table_name = 'intro';
13 protected static $model_class = Model\Introduction::class;
15 protected static $collection_class = Collection\Introductions::class;
19 * @return Model\Introduction
21 protected function create(array $data)
23 return new Model\Introduction($this->dba, $this->logger, $this, $data);
27 * @param array $condition
28 * @return Model\Introduction
29 * @throws \Friendica\Network\HTTPException\NotFoundException
31 public function selectFirst(array $condition)
33 return parent::selectFirst($condition);
37 * @param array $condition
38 * @param array $order An optional array with order information
39 * @param int|array $limit Optional limit information
41 * @return Collection\Introductions
44 public function select(array $condition = [], array $order = [], $limit = null)
46 return parent::select($condition, $order, $limit);
50 * @param array $condition
52 * @param int|null $max_id
53 * @param int|null $since_id
54 * @param int|array $limit
55 * @return Collection\Introductions
58 public function selectByBoundaries(array $condition = [], array $order = [], int $max_id = null, int $since_id = null, int $limit = self::LIMIT)
60 return parent::selectByBoundaries($condition, $order, $max_id, $since_id, $limit);