get() public method

public get ( $OrderFields = '', $OrderDirection = '', $Limit = false, $PageNumber = false )
Exemplo n.º 1
0
 public function getData()
 {
     // Fetch from model.
     $Model = new ConversationModel();
     $Result = $Model->get($this->UserID, 0, $this->Limit, array());
     // Join in the participants.
     $Model->joinParticipants($Result);
     $this->setData('Conversations', $Result);
 }