Adds a new resource to storage
public static addResource ( array $info ) : Kronolith_Resource_Single | ||
$info | array | The resource array. - name: (string) The resource name. - desc: (string) The resource description. - email: (string) An email address for the resource, if needed. - response_type: (integer) The RESPONSETYPE_* constant. - group: (boolean) Flag resource as a group. - members: (array) An array of resource ids if this is a group. |
return | Kronolith_Resource_Single |