コード例 #1
0
ファイル: Postbox.php プロジェクト: GeneralCrime/code
 /**
  * Loads a list of MessageChannels
  *
  * @param int $start The number of the first channel which should be returned (SQL LIMIT)
  * @param int $count The number of channels which should be returned (SQL LIMIT)
  *
  * @return MessageChannel[] A list of message channels.
  */
 public function getChannelsWithoutFolder($start = 0, $count = 15)
 {
     return $this->ORM->loadObjectListByStatement('MessageChannel', 'extensions::postbox', 'Postbox_getChannelsWithoutFolder.sql', ['UserID' => (int) $this->User->getObjectId(), 'Start' => (int) $start, 'Count' => (int) $count]);
 }