public function getAll() 
    {
        return [
            self::ENTRY_ID         => $this->getId(),
            self::ENTRY_NAME       => $this->getName(),
            self::ENTRY_TYPE       => $this->getType(),
        ];
    }
public function getAll() 
    {
        return [
            self::ENTRY_ID         => $this->getId(),
            self::ENTRY_NAME       => $this->getName(),
            self::ENTRY_TYPE       => $this->getType(),
        ];
    }
public function getAll ( ) { return [ self :: ENTRY_ID => $ this -> getId ( ) , self :: ENTRY_NAME => $ this -> getName ( ) , self :: ENTRY_TYPE => $ this -> getType ( ) , ] ; }
Return the view as an array

@return array - view data as an array
Return the view as an array