public function getRequirements()
    {
        $requirements = &gplcart_static('install.requirements');

        if (isset($requirements)) {
            return (array) $requirements;
        }

        $requirements = (array) gplcart_config_get(GC_FILE_CONFIG_REQUIREMENT);
        $this->hook->attach('install.requirements', $requirements);
        return (array) $requirements;
    }
public function getRequirements()
    {
        $requirements = &gplcart_static('install.requirements');

        if (isset($requirements)) {
            return (array) $requirements;
        }

        $requirements = (array) gplcart_config_get(GC_FILE_CONFIG_REQUIREMENT);
        $this->hook->attach('install.requirements', $requirements);
        return (array) $requirements;
    }
public function getRequirements ( ) { $ requirements = & gplcart_static ( 'install.requirements' ) ; if ( isset ( $ requirements ) ) { return ( array ) $ requirements ; } $ requirements = ( array ) gplcart_config_get ( GC_FILE_CONFIG_REQUIREMENT ) ; $ this -> hook -> attach ( 'install.requirements' , $ requirements ) ; return ( array ) $ requirements ; }
Returns an array of requirements
@return array
Returns an array of requirements