public function getPages($identifier = '')
    {
        if (!empty($identifier)) {
            return $this->hasPage($identifier) ? $this->pages[$identifier] : null;
        }

        return $this->pages;
    }
public function getPages($identifier = '')
    {
        if (!empty($identifier)) {
            return $this->hasPage($identifier) ? $this->pages[$identifier] : null;
        }

        return $this->pages;
    }
public function getPages ( $ identifier = '' ) { if ( ! empty ( $ identifier ) ) { return $ this -> hasPage ( $ identifier ) ? $ this -> pages [ $ identifier ] : null ; } return $ this -> pages ; }
Gets the value of pages.

@param   string $identifier the identifier
@return  array
Gets the value of pages .