public function findAll()
    {
        $applications = array();

        foreach ($this->getRows() as $row) {
            $application = $this->createNew();
            $application->setId($row['id']);
            $application->setName($row['name']);
            $application->setUrl($row['url']);

            $applications[] = $application;
        }

        return $applications;
    }
public function findAll()
    {
        $applications = array();

        foreach ($this->getRows() as $row) {
            $application = $this->createNew();
            $application->setId($row['id']);
            $application->setName($row['name']);
            $application->setUrl($row['url']);

            $applications[] = $application;
        }

        return $applications;
    }
public function findAll ( ) { $ applications = array ( ) ; foreach ( $ this -> getRows ( ) as $ row ) { $ application = $ this -> createNew ( ) ; $ application -> setId ( $ row [ 'id' ] ) ; $ application -> setName ( $ row [ 'name' ] ) ; $ application -> setUrl ( $ row [ 'url' ] ) ; $ applications [ ] = $ application ; } return $ applications ; }
Retrieve all applications

@return array
Retrieve all applications