|
| | CreateAlbum ($owner_id, $name, $access=OSSN_PUBLIC, $type='user') |
| |
| | GetAlbumGuid () |
| |
| | GetAlbums ($owner_id, $params=array()) |
| |
| | GetAlbum ($album_id) |
| |
| | deleteAlbum ($guid) |
| |
| | __construct ($guid=0) |
| |
| | initAttributes () |
| |
| | addObject () |
| |
| | getObjectById (array $options=array()) |
| |
| | getObjectId () |
| |
| | updateObject ($name, $value, $guid) |
| |
| | deleteObject ($object='') |
| |
| | searchObject (array $params=array()) |
| |
| | save () |
| |
| | 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) |
| |
◆ CreateAlbum()
| CreateAlbum |
( |
|
$owner_id, |
|
|
|
$name, |
|
|
|
$access = OSSN_PUBLIC, |
|
|
|
$type = 'user' |
|
) |
| |
Create a photo album
- Parameters
-
| integer | $owner_id | User guid who is creating album |
| string | $name | Album name |
| constant | $access | Album access |
| string | $type | Album type (user, group, page etc) |
- Returns
- boolean
◆ deleteAlbum()
Delete Album
- Parameters
-
- Returns
- boolean
◆ GetAlbum()
Get album by id
- Parameters
-
| integer | $album_id | Id of album |
- Returns
- void|object;
◆ GetAlbumGuid()
Get newly created album guid
- Returns
- bool;
◆ GetAlbums()
| GetAlbums |
( |
|
$owner_id, |
|
|
|
$params = array() |
|
) |
| |
Get albums by owner id and owner type
- Parameters
-
| integer | $owner_id | User guid who is creating album |
| array | $params | Extra options, |
- Returns
- object
The documentation for this class was generated from the following file:
- source/components/OssnPhotos/classes/OssnAlbums.php