|
OPEN SOURCE SOCIAL NETWORK 6.6
|
Public Member Functions | |
| Post ($post, $friends='', $location='', $access='') | |
| initAttributes () | |
| GetPostByOwner ($owner, $type='user', $count=false) | |
| GetUserPosts ($user, $params=array()) | |
| GetPost ($guid) | |
| deletePost ($post) | |
| deleteAllPosts () | |
| GetPosts (array $params=array()) | |
| getFriendsPosts ($params=array()) | |
| getPublicPosts ($params=array()) | |
| getAllPosts ($params=array()) | |
| getPosterPosts ($guid='') | |
| getPhotoURL () | |
| getPhotoFile () | |
Public Member Functions inherited from OssnObject | |
| __construct ($guid=0) | |
| initAttributes () | |
| addObject () | |
| getObjectById (array $options=array()) | |
| getObjectId () | |
| updateObject ($name, $value, $guid) | |
| deleteObject ($object='') | |
| searchObject (array $params=array()) | |
| save () | |
Public Member Functions inherited from OssnEntities | |
| add () | |
| get_entity () | |
| save () | |
| get_entities () | |
| AddedEntityGuid () | |
| updateEntity () | |
| deleteByOwnerGuid ($guid, $type) | |
| deleteEntity ($guid='') | |
| searchEntities (array $params=array()) | |
| canChange ($user='') | |
| destruct () | |
Public Member Functions inherited from OssnDatabase | |
| __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 () | |
Public Member Functions inherited from OssnBase | |
| getGUID () | |
| getID () | |
| getParam ($param) | |
| isParam ($param) | |
| __call ($method, $args) | |
Static Public Member Functions | |
| static | getUserGroupPostsGuids ($userguid) |
Static Public Member Functions inherited from OssnSession | |
| static | start () |
| static | assign ($name='', $value='') |
| static | unassign ($name='') |
| static | isSession ($name='') |
| static | getSession ($name='') |
| deleteAllPosts | ( | ) |
Delete All Posts
| deletePost | ( | $post | ) |
Delete post
@params $post: Post guid
| getAllPosts | ( | $params = array() | ) |
Get all user wall posts for admins
return array;
| getFriendsPosts | ( | $params = array() | ) |
Get user wall postings for wall mode set to Friends-Only
return array;
| getPhotoFile | ( | ) |
Get wall photo file
| getPhotoURL | ( | ) |
Get wall photo URL
| GetPost | ( | $guid | ) |
Get post by guid
@params $guid: Post guid
| GetPostByOwner | ( | $owner, | |
$type = 'user', |
|||
$count = false |
|||
| ) |
Get posts by owner
@params $owner: Owner guid $type Owner type
| getPosterPosts | ( | $guid = '' | ) |
Get Posts of user
| integer | $guid | A user id |
| GetPosts | ( | array | $params = array() | ) |
Get all site wall posts
| getPublicPosts | ( | $params = array() | ) |
Get user wall postings for wall mode set to All-Site-Posts
return array;
|
static |
Get user group posts guids
| integer | $userguid | Guid of user |
| GetUserPosts | ( | $user, | |
$params = array() |
|||
| ) |
Get user posts
@params $user: User guid
| initAttributes | ( | ) |
| Post | ( | $post, | |
$friends = '', |
|||
$location = '', |
|||
$access = '' |
|||
| ) |
Post on wall
@params $post: Post text $friends: Friend guids $location: Post location $access: (OSSN_PUBLIC, OSSN_PRIVATE, OSSN_FRIENDS)
| string | $post |