Swiftriver\Core\Modules\SiSPS\Parsers\IMAPParser::ReturnRequiredParameters PHP Method

ReturnRequiredParameters() public method

This method returns an array of the required parameters that are necessary to run this parser. The Array should be in the following format: array( "SubType" => array ( ConfigurationElements ) )
public ReturnRequiredParameters ( ) : array()
return array()
    public function ReturnRequiredParameters()
    {
        return array("Gmail" => array(new \Swiftriver\Core\ObjectModel\ConfigurationElement("UserName", "string", "Your Gmail user name (including the @gmail bit)"), new \Swiftriver\Core\ObjectModel\ConfigurationElement("Password", "string", "The password you use to log into this account")), "Any Other Mail Account" => array(new \Swiftriver\Core\ObjectModel\ConfigurationElement("Host", "string", "Host URL (you may need to look this up, for example, GMail's URL is: imap.gmail.com:993/imap/ssl/novalidate-cert - not so intuitive, right)"), new \Swiftriver\Core\ObjectModel\ConfigurationElement("UserName", "string", "IMAP login user name"), new \Swiftriver\Core\ObjectModel\ConfigurationElement("Password", "string", "IMAP login password")));
    }