프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$m_imageData | |||
$m_imageOffset | |||
$m_isSearch | |||
$m_itemsPerPage | |||
$m_numImagesFound | |||
$m_orderBy | |||
$m_orderDirection | |||
$m_orderQuery | |||
$m_searchString | |||
$m_whereGroups | |||
$m_whereQuery |
메소드 | 설명 | |
---|---|---|
ImageSearch ( string $p_searchString, string $p_orderBy, string $p_orderDirection = 'ASC', integer $p_offset, integer $p_itemsPerPage ) | This class can search for images matching specific criteria. | |
getImages ( ) : array | Return the images that were found. | |
getImagesPerPage ( ) : integer | The current value for the number of images shown per page. | |
getNumImagesFound ( ) : integer | Return the total number of images that match the search. | |
run ( ) : array | Execute the search and return the results. | |
setFilter ( $col, $val, $out = false ) | constructor | |
setImagesPerPage ( integer $p_value ) : void | Set the max number of images to return from the run() function. |
public ImageSearch ( string $p_searchString, string $p_orderBy, string $p_orderDirection = 'ASC', integer $p_offset, integer $p_itemsPerPage ) | ||
$p_searchString | string | The string to search for. |
$p_orderBy | string | Which column to order the results by. Can be one of ["description"|"photographer"|"place"|"date"| "inuse"|"id"|"time_create"|"last_modified"] |
$p_orderDirection | string | Order by increasing or decreasing values. Can be ["ASC"|"DESC"] |
$p_offset | integer | Return results starting from the given offset. |
$p_itemsPerPage | integer | The number of results to return. |
public getImagesPerPage ( ) : integer | ||
리턴 | integer |
public getNumImagesFound ( ) : integer | ||
리턴 | integer |
public setImagesPerPage ( integer $p_value ) : void | ||
$p_value | integer | |
리턴 | void |