File: ext/phady/security/groups/groupinterface.zep.c

Recommend this page to a friend!
  Classes of Alien Fernandez  >  Phady Framework  >  ext/phady/security/groups/groupinterface.zep.c  >  Download  
File: ext/phady/security/groups/groupinterface.zep.c
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Phady Framework
Web application MVC framework based on Phalcon
Author: By
Last change:
Date: 4 years ago
Size: 1,489 bytes
 

Contents

Class file image Download
#ifdef HAVE_CONFIG_H
#include "../../../ext_config.h"
#endif

#include <php.h>
#include "../../../php_ext.h"
#include "../../../ext.h"

#include <Zend/zend_exceptions.h>

#include "kernel/main.h"


/**
 * Phady\Security\Groups\GroupInterface
 *
 * Interface for Phady\Security\Groups
 */
ZEPHIR_INIT_CLASS(Phady_Security_Groups_GroupInterface) {

	ZEPHIR_REGISTER_INTERFACE(Phady\\Security\\Groups, GroupInterface, phady, security_groups_groupinterface, phady_security_groups_groupinterface_method_entry);

	return SUCCESS;

}

/**
 * Add new role
 *
 * @param string role
 * @return self
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, addRole);

/**
 * Get Role Id
 *
 * @return integet
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, getId);

/**
 * Get Role Name
 *
 * @return string
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, getName);

/**
 * Has a role
 *
 * @param string role
 * @return boolean
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, hasRole);

/**
 * Get All Roles
 *
 * @return array
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, getRoles);

/**
 * Remove a Role
 *
 * @return self
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, removeRole);

/**
 * Set a Role Name
 *
 * @param string name
 * @return self
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, setName);

/**
 * Set a Roles
 *
 * @return self
 */
ZEPHIR_DOC_METHOD(Phady_Security_Groups_GroupInterface, setRoles);


For more information send a message to info at phpclasses dot org.