public static function getHomepage($columnName = '')
    {
        if($columnName) {
            if(isset(self::$homepage->$columnName)) {
                return self::$homepage->$columnName;
            }
            return null;
        }
        return self::$homepage;
    }
public static function getHomepage($columnName = '')
    {
        if($columnName) {
            if(isset(self::$homepage->$columnName)) {
                return self::$homepage->$columnName;
            }
            return null;
        }
        return self::$homepage;
    }
public static function getHomepage ( $ columnName = '' ) { if ( $ columnName ) { if ( isset ( self :: $ homepage -> $ columnName ) ) { return self :: $ homepage -> $ columnName ; } return null ; } return self :: $ homepage ; }
Get the data of Homepage.

@param string $columnName Column of page to be returned

@return array|string|null Returns the data of the primary Menu if found, null instead
Get the data of Homepage .