Changeset 1269 for trunk/workflow/inc/class.bo_userinterface.inc.php
- Timestamp:
- 08/04/09 14:42:23 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.bo_userinterface.inc.php
r1266 r1269 1038 1038 return array( 'error' => 'Localidade não encontrada.' ); 1039 1039 1040 //usort( $employees['employees'], create_function( '$a,$b', 'return strcasecmp($a[\'cn\'],$b[\'cn\']);' ) ); 1040 return $employees; 1041 } 1042 1043 /** 1044 * Return the list of employees in alphabetical order 1045 * @access public 1046 * @return array array of employees 1047 */ 1048 function getAlphabeticalEmployees( ) 1049 { 1050 /* check for access */ 1051 if ( ( $checkWarnings = $this -> checkOrgchartAccess( ) ) !== true ) 1052 return $checkWarnings; 1053 1054 $employees = $this -> so -> getAlphabeticalEmployees( $this -> organizationInfo[ 'organizacao_id' ] ); 1055 1056 if ( $employees === false ) 1057 return array( 'error' => 'Localidade não encontrada.' ); 1041 1058 1042 1059 return $employees;
Note: See TracChangeset
for help on using the changeset viewer.