|
| | AddPhoto ($album, $photo='ossnphoto', $access=OSSN_PUBLIC) |
| |
| | GetPhotos ($album) |
| |
| | GetPhoto ($photo) |
| |
| | deleteProfilePhoto () |
| |
| | deleteProfileCoverPhoto () |
| |
| | deleteAlbumPhoto () |
| |
| | addWall ($itemguid='', array $images_guid=array()) |
| |
| | searchPhotos ($params) |
| |
| | getURL ($size='') |
| |
| | GetUserProfilePhotos ($guid, array $params=array()) |
| |
| | GetUserCoverPhotos ($guid, array $params=array()) |
| |
| | MaxSize () |
| |
| | getUploadMaxSize () |
| |
| | setFile ($name) |
| |
| | setPath ($path) |
| |
| | getFileExtension ($file) |
| |
| | allowedFileExtensions () |
| |
| | getFileUploadError ($code) |
| |
| | showFileUploadError () |
| |
| | setStore (string $type='local') |
| |
| | getStore () |
| |
| | setImageDim (int $width, int $height, bool $square=false) |
| |
| | getImageDim () |
| |
| | writeManifest ($directory, $filename, array $addedToCDN) |
| |
| | addFile () |
| |
| | getFiles () |
| |
| | searchFiles (array $params=array()) |
| |
| | setExtension (array $extension=array()) |
| |
| | setMimeTypes (array $mimtypes=array()) |
| |
| | typeAllowed () |
| |
| | getFile () |
| |
| | isCDN () |
| |
| | getManifest () |
| |
| | getPath () |
| |
| | isFile () |
| |
| | deleteFile () |
| |
| | resetRotation ($filename) |
| |
| | output (string $Mime='') |
| |
| | add () |
| |
| | get_entity () |
| |
| | save () |
| |
| | get_entities () |
| |
| | AddedEntityGuid () |
| |
| | updateEntity () |
| |
| | deleteByOwnerGuid ($guid, $type) |
| |
| | deleteEntity ($guid='') |
| |
| | searchEntities (array $params=array()) |
| |
| | canChange ($user='') |
| |
| | destruct () |
| |
| | __construct () |
| |
| | Connect () |
| |
| | insert ($params) |
| |
| | statement ($query) |
| |
| | execute ($values=array()) |
| |
| | update ($params=array()) |
| |
| | select ($params, $multi='') |
| |
| | fetch ($data=false) |
| |
| | delete ($params) |
| |
| | getLastEntry () |
| |
| | constructWheres (array $array, $operator="AND") |
| |
| | generateLimit ($data_limit=false, $page_limit=false, $offset=false) |
| |
| | clearVars () |
| |
| | __destruct () |
| |
| | getGUID () |
| |
| | getID () |
| |
| | getParam ($param) |
| |
| | isParam ($param) |
| |
| | __call ($method, $args) |
| |
◆ AddPhoto()
| AddPhoto |
( |
|
$album, |
|
|
|
$photo = 'ossnphoto', |
|
|
|
$access = OSSN_PUBLIC |
|
) |
| |
Add photo to album
@params = $album Album guid $photo Photo type $access Private or Public ( its actually depend on album privacy)
- Returns
- bool;
◆ addWall()
| addWall |
( |
|
$itemguid = '', |
|
|
array |
$images_guid = array() |
|
) |
| |
Add images to wall
- Parameters
-
| integer | $itemguid | A album guid |
- Returns
- boolean
◆ deleteAlbumPhoto()
Delete profile photo
@params = $this->photoid Id of photo
- Returns
- bool;
◆ deleteProfileCoverPhoto()
| deleteProfileCoverPhoto |
( |
| ) |
|
Delete profile cover photo
- Returns
- bool;
◆ deleteProfilePhoto()
Delete profile photo
- Returns
- bool;
◆ GetPhoto()
Get photo of album
@params = $photo Photo id
- Returns
- object;
◆ GetPhotos()
Get photos of album
@params = $album Album guid
- Returns
- object;
◆ getURL()
get photo view URL
- Parameters
-
| string | $size | album or default |
- Returns
- boolean
◆ GetUserCoverPhotos()
| GetUserCoverPhotos |
( |
|
$guid, |
|
|
array |
$params = array() |
|
) |
| |
Get user cover photos album
- Parameters
-
| integer | $user | User guid |
| array | $params | Option values |
- Returns
- object
◆ GetUserProfilePhotos()
| GetUserProfilePhotos |
( |
|
$guid, |
|
|
array |
$params = array() |
|
) |
| |
Get user profile photos album
- Parameters
-
| integer | $guid | User guid |
| array | $params | Option values |
- Returns
- object
◆ searchPhotos()
Search photos
- Parameters
-
- Returns
- boolean|array
The documentation for this class was generated from the following file:
- source/components/OssnPhotos/classes/OssnPhotos.php