OPEN SOURCE SOCIAL NETWORK 6.6
|
Public Member Functions | |
addNewAd ($params) | |
initAttributes () | |
getAds (array $params=array(), $random=true) | |
getAd ($guid) | |
deleteAd ($ad) | |
EditAd ($params) | |
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) | |
Additional Inherited Members | |
Static Public Member Functions inherited from OssnSession | |
static | start () |
static | assign ($name='', $value='') |
static | unassign ($name='') |
static | isSession ($name='') |
static | getSession ($name='') |
addNewAd | ( | $params | ) |
Add a new ad in system.
deleteAd | ( | $ad | ) |
Delete ad
(int) | $ad ad guid |
EditAd | ( | $params | ) |
Edit
(array) | $params Contain title , description and guid of ad |
getAd | ( | $guid | ) |
Get ad entity
(int) | $guid ad guid |
getAds | ( | array | $params = array() , |
$random = true |
|||
) |
Get site ads.
array | $params | option values |
boolean | $random | do you wanted to see ads in ramdom order? |
getPhotoFile | ( | ) |
Get ads photo file
getPhotoURL | ( | ) |
Get ads photo URL
initAttributes | ( | ) |