PHP 클래스 GxcHelpers, gxc-cms

저자: Tuan Nguyen ([email protected])
파일 보기 프로젝트 열기: nganhtuan63/gxc-cms 1 사용 예제들

공개 메소드들

메소드 설명
curl_get_async ( $url, $params )
curl_post_async ( $url, $params )
deleteModel ( $model_name, $id )
encode ( string $text, Char $rplChar = '', $upWords = true ) Encode the text into a string which all white spaces will be replaced by $rplChar
generateAvatarThumb ( $upload_name, $folder, $filename )
getArrayResourceObjectBinding ( $ownid )
getAvailableBlocks ( $render_view = false )
getAvailableContentType ( $render_view = false )
getAvailableLayouts ( $render_view = false )
getClassOfContent ( $type )
getContentList ( $content_list_id, $max = null, $pagination = null, $return_type = ConstantDefine::CONTENT_LIST_RETURN_ACTIVE_RECORD )
getObjectMeta ( $id, $meta )
getRemoteFile ( &$resource, $model, &$process, &$message, $path, $ext, $changeresname = true, $max_size = ConstantDefine::UPLOAD_MAX_SIZE, $min_size = ConstantDefine::UPLOAD_MIN_SIZE, $allow = [] )
getResourceObjectFromDatabase ( $model, $key )
getStorages ( $get_class = false )
getUserAvatar ( $size, $avatar, $default )
loadDetailModel ( $model_name, $id )
queryFilterString ( $str ) Query Filter String from Litpi.com
remoteFileExists ( $url )
renderLinkPreviewResource ( $data )
renderTextBoxResourcePath ( $data )
xss_clean ( $data ) XSS Clean Data Input from Litpi.com

메소드 상세

curl_get_async() 공개 메소드

public curl_get_async ( $url, $params )

curl_post_async() 공개 메소드

public curl_post_async ( $url, $params )

deleteModel() 공개 정적인 메소드

public static deleteModel ( $model_name, $id )

encode() 공개 정적인 메소드

Encode the text into a string which all white spaces will be replaced by $rplChar
public static encode ( string $text, Char $rplChar = '', $upWords = true )
$text string text to be encoded
$rplChar Char character to replace all the white spaces

generateAvatarThumb() 공개 정적인 메소드

public static generateAvatarThumb ( $upload_name, $folder, $filename )

getArrayResourceObjectBinding() 공개 정적인 메소드

public static getArrayResourceObjectBinding ( $ownid )

getAvailableBlocks() 공개 정적인 메소드

public static getAvailableBlocks ( $render_view = false )

getAvailableContentType() 공개 정적인 메소드

public static getAvailableContentType ( $render_view = false )

getAvailableLayouts() 공개 정적인 메소드

public static getAvailableLayouts ( $render_view = false )

getClassOfContent() 공개 정적인 메소드

public static getClassOfContent ( $type )

getContentList() 공개 정적인 메소드

public static getContentList ( $content_list_id, $max = null, $pagination = null, $return_type = ConstantDefine::CONTENT_LIST_RETURN_ACTIVE_RECORD )

getObjectMeta() 공개 정적인 메소드

public static getObjectMeta ( $id, $meta )

getRemoteFile() 공개 정적인 메소드

public static getRemoteFile ( &$resource, $model, &$process, &$message, $path, $ext, $changeresname = true, $max_size = ConstantDefine::UPLOAD_MAX_SIZE, $min_size = ConstantDefine::UPLOAD_MIN_SIZE, $allow = [] )

getResourceObjectFromDatabase() 공개 정적인 메소드

public static getResourceObjectFromDatabase ( $model, $key )

getStorages() 공개 정적인 메소드

public static getStorages ( $get_class = false )

getUserAvatar() 공개 정적인 메소드

public static getUserAvatar ( $size, $avatar, $default )

loadDetailModel() 공개 정적인 메소드

public static loadDetailModel ( $model_name, $id )

queryFilterString() 공개 정적인 메소드

Query Filter String from Litpi.com
public static queryFilterString ( $str )

remoteFileExists() 공개 정적인 메소드

public static remoteFileExists ( $url )

renderLinkPreviewResource() 공개 정적인 메소드

public static renderLinkPreviewResource ( $data )

renderTextBoxResourcePath() 공개 정적인 메소드

public static renderTextBoxResourcePath ( $data )

xss_clean() 공개 정적인 메소드

XSS Clean Data Input from Litpi.com
public static xss_clean ( $data )