PHP Class FormatComponent

Inheritance: extends Object
Exibir arquivo Open project: Orangescrum/orangescrum Class Usage Examples

Public Properties

Property Type Description
$components

Public Methods

Method Description
GetDateTime ( $timezoneid, $gmt_offset, $dst_offset, $timezone_code, $db_date, $type )
assigntoFilter ( $caseAssignTo )
caseBcMems ( $uid )
caseBcTypes ( $typ )
caseKeywordSearch ( $caseSrch, $type )
caseMemsList ( $uid )
checkEmailExists ( $betaEmail )
checkMems ( $project, $type )
chgdate ( $val )
chnageUploadedFileName ( $filename )
convert_ascii ( $string )
dateFormatOutputdateTime_day ( $date_time, $curdate = NULL, $type = NULL )
dateFormatOutputdateTime_day_EXPORT ( $date_time, $curdate = NULL, $type = NULL )
dateFormatReverse ( $output_date )
displayStatus ( $st )
downloadFile ( $filename )
downloadFile1 ( $filename )
emailBodyFilter ( $value )
filterMilestone ( $milestoneUid = '' )
find_file ( $dirname, $fname, &$file_path )
formatText ( $value )
fullSpace ( $used, $totalsize = 1024 )
genRandomStringCustom ( $length = 7 )
generatePassword ( $length )
generateTemporaryURL ( $resource )
generateUniqNumber ( )
generate_invoiceid ( )
getAllCsId ( $pid )
getAllNotifyUser ( $project_id, $type = NULL )
getMemebersEmail ( $projId, $search )
getProjectName ( $pid )
getProjectShortName ( $pid )
getRealIpAddr ( )
getRemoteIP ( )
getRequireTypeName ( $TypeId = NULL )
getRequireUserName ( $UserId = NULL, $is_email = NULL )
getSqlFields ( $arr, $prj_unq_id )
getTypes ( )
getUserNameForEmail ( $uid )
getUserShortName ( $uid )
hoursspent ( $project_id ) : integer
isValidDateTime ( $dateTime )
is_private_ip ( $ip )
longstringwrap ( $string = "" )
makeSeoUrl ( $url )
makeShortName ( $first, $last )
mdyFormat ( $date_time, $type = NULL )
memberFilter ( $caseUserId )
priorityFilter ( $priorityFil, $caseTypes )
shortLength ( $value, $len )
showlink ( $value )
showuploadImage ( $tmp_name, $name, $size, $path, $count )
statusFilter ( $caseStatus )
todo_typ ( $type, $title )
typeFilter ( $caseTypes )
uploadPhoto ( $tmp_name, $name, $size, $path, $count, $type )
uploadProfilePhoto ( $name, $path )
usedSpace ( $curProjId = NULL, $company_id = SES_COMP )
validateEmail ( $email )
validateFileExt ( $ext )
validate_ip ( $ip ) : string
zipFile ( type $source, type $destination, string $flag = '' ) : boolean

Method Details

GetDateTime() public method

public GetDateTime ( $timezoneid, $gmt_offset, $dst_offset, $timezone_code, $db_date, $type )

assigntoFilter() public method

public assigntoFilter ( $caseAssignTo )

caseBcMems() public method

public caseBcMems ( $uid )

caseBcTypes() public method

public caseBcTypes ( $typ )

caseKeywordSearch() public method

public caseKeywordSearch ( $caseSrch, $type )

caseMemsList() public method

public caseMemsList ( $uid )

checkEmailExists() public method

public checkEmailExists ( $betaEmail )

checkMems() public method

public checkMems ( $project, $type )

chgdate() public method

public chgdate ( $val )

chnageUploadedFileName() public method

public chnageUploadedFileName ( $filename )

convert_ascii() public method

public convert_ascii ( $string )

dateFormatOutputdateTime_day() public method

public dateFormatOutputdateTime_day ( $date_time, $curdate = NULL, $type = NULL )

dateFormatOutputdateTime_day_EXPORT() public method

public dateFormatOutputdateTime_day_EXPORT ( $date_time, $curdate = NULL, $type = NULL )

dateFormatReverse() public method

public dateFormatReverse ( $output_date )

displayStatus() public method

public displayStatus ( $st )

downloadFile() public method

public downloadFile ( $filename )

downloadFile1() public method

public downloadFile1 ( $filename )

emailBodyFilter() public method

public emailBodyFilter ( $value )

filterMilestone() public method

public filterMilestone ( $milestoneUid = '' )

find_file() public method

public find_file ( $dirname, $fname, &$file_path )

formatText() public method

public formatText ( $value )

fullSpace() public method

public fullSpace ( $used, $totalsize = 1024 )

genRandomStringCustom() public method

public genRandomStringCustom ( $length = 7 )

generatePassword() public method

public generatePassword ( $length )

generateTemporaryURL() public method

public generateTemporaryURL ( $resource )

generateUniqNumber() public method

public generateUniqNumber ( )

generate_invoiceid() public method

public generate_invoiceid ( )

getAllCsId() public method

public getAllCsId ( $pid )

getAllNotifyUser() public method

public getAllNotifyUser ( $project_id, $type = NULL )

getMemebersEmail() public method

public getMemebersEmail ( $projId, $search )

getProjectName() public method

public getProjectName ( $pid )

getProjectShortName() public method

public getProjectShortName ( $pid )

getRealIpAddr() public method

public getRealIpAddr ( )

getRemoteIP() public method

public getRemoteIP ( )

getRequireTypeName() public method

public getRequireTypeName ( $TypeId = NULL )

getRequireUserName() public method

public getRequireUserName ( $UserId = NULL, $is_email = NULL )

getSqlFields() public method

public getSqlFields ( $arr, $prj_unq_id )

getTypes() public method

public getTypes ( )

getUserNameForEmail() public method

public getUserNameForEmail ( $uid )

getUserShortName() public method

public getUserShortName ( $uid )

hoursspent() public method

public hoursspent ( $project_id ) : integer
return integer hours spent

isValidDateTime() public method

public isValidDateTime ( $dateTime )

is_private_ip() public method

public is_private_ip ( $ip )

longstringwrap() public method

public longstringwrap ( $string = "" )

makeSeoUrl() public method

public makeSeoUrl ( $url )

makeShortName() public method

public makeShortName ( $first, $last )

mdyFormat() public method

public mdyFormat ( $date_time, $type = NULL )

memberFilter() public method

public memberFilter ( $caseUserId )

priorityFilter() public method

public priorityFilter ( $priorityFil, $caseTypes )

shortLength() public method

public shortLength ( $value, $len )

showuploadImage() public method

public showuploadImage ( $tmp_name, $name, $size, $path, $count )

statusFilter() public method

public statusFilter ( $caseStatus )

todo_typ() public method

public todo_typ ( $type, $title )

typeFilter() public method

public typeFilter ( $caseTypes )

uploadPhoto() public method

public uploadPhoto ( $tmp_name, $name, $size, $path, $count, $type )

uploadProfilePhoto() public method

public uploadProfilePhoto ( $name, $path )

usedSpace() public method

public usedSpace ( $curProjId = NULL, $company_id = SES_COMP )

validateEmail() public method

public validateEmail ( $email )

validateFileExt() public method

public validateFileExt ( $ext )

validate_ip() public method

Author: GDR ([email protected])
public validate_ip ( $ip ) : string
return string Location fromt the ip

zipFile() public method

public zipFile ( type $source, type $destination, string $flag = '' ) : boolean
$source type
$destination type
$flag string
return boolean

Property Details

$components public_oe property

public $components