common/models/entities/Permission.php
public function getRolesIdList() {

		$roles		= $this->roleMappingList;
		$rolesList	= array();

		foreach ( $roles as $role ) {

			array_push( $rolesList, $role->roleId );
		}

		return $rolesList;
	}
public function getRolesIdList() {

		$roles		= $this->roleMappingList;
		$rolesList	= array();

		foreach ( $roles as $role ) {

			array_push( $rolesList, $role->roleId );
		}

		return $rolesList;
	}
public function getRolesIdList ( ) { $ roles = $ this -> roleMappingList ; $ rolesList = array ( ) ; foreach ( $ roles as $ role ) { array_push ( $ rolesList , $ role -> roleId ) ; } return $ rolesList ; }
Generate and return the array having id of mapped roles.

@return array
Generate and return the array having id of mapped roles .