|
ultimix
|
Public Member Functions | |
| __construct () | |
| get_projects () | |
| get_placements_new_prices ($ProjectId=0, $Days=30) | |
| placements_delete ($LinkIds) | |
| get_urls ($ProjectId) | |
| get_url_links ($URLId) | |
| url_add ($ProjectId, $URL, $Name) | |
| url_update ($URLId, $Params) | |
| url_delete ($URLId) | |
| get_url_anchors ($URLId) | |
| url_anchors_delete ($URLId, $AnchorIds) | |
| url_set_autoseo ($URLId, $Auto=true, $RequireConfirm=false) | |
| filter_auto_create ($FilterId, $URLId, $Quant, $Price, $DailyQuota=0) | |
| filter_auto_update ($FilterAutoId, $Quant, $Price, $DailyQuota=0) | |
| filter_auto_delete ($FilterAutoId, $Quant, $Price, $DailyQuota=0) | |
| get_filters_auto ($URLId) | |
Data Fields | |
| $SapeCommonApi = false | |
| $SapeUtilities = false | |
| $Security = false | |
Class provides integration with the Sape system.
Definition at line 26 of file sape_project_api.php.
| __construct | ( | ) |
Constructor.
| Exception | An exception of this type is thrown. |
Definition at line 56 of file sape_project_api.php.
| filter_auto_create | ( | $FilterId, | |
| $URLId, | |||
| $Quant, | |||
| $Price, | |||
$DailyQuota = 0 |
|||
| ) |
Function sets filter.
| $FilterId | - Filter's id. |
| $URLId | - URL's id. |
| $Quant | - Links quantity. |
| $Price | - Sum. |
| $DailyQuota | - Daily quota. |
| Exception | An exception of this type is thrown. |
Definition at line 666 of file sape_project_api.php.
| filter_auto_delete | ( | $FilterAutoId, | |
| $Quant, | |||
| $Price, | |||
$DailyQuota = 0 |
|||
| ) |
Function deletes auto-filter.
| $FilterAutoId | - Auto-filter's id. |
| Exception | An exception of this type is thrown. |
Definition at line 805 of file sape_project_api.php.
| filter_auto_update | ( | $FilterAutoId, | |
| $Quant, | |||
| $Price, | |||
$DailyQuota = 0 |
|||
| ) |
Function updates auto-filter.
| $FilterAutoId | - Auto-filter's id. |
| $Quant | - Links quantity. |
| $Price | - Sum. |
| $DailyQuota | - Daily quota. |
| Exception | An exception of this type is thrown. |
Definition at line 771 of file sape_project_api.php.
| get_filters_auto | ( | $URLId | ) |
Function deletes auto-filter.
| $FilterAutoId | - Auto-filter's id. |
| Exception | An exception of this type is thrown. |
Definition at line 841 of file sape_project_api.php.
| get_placements_new_prices | ( | $ProjectId = 0, |
|
$Days = 30 |
|||
| ) |
Function returns a list of URLs with changed prices.
| $ProjectId | - Project's id. |
| $Days | - Count of days. |
| Exception | An exception of this type is thrown. |
Definition at line 130 of file sape_project_api.php.
| get_projects | ( | ) |
Function returns a list of packages.
| Exception | An exception of this type is thrown. |
Definition at line 88 of file sape_project_api.php.
| get_url_anchors | ( | $URLId | ) |
Function returns URL's anchors.
| $URLId | - URL's id. |
| Exception | An exception of this type is thrown. |
Definition at line 449 of file sape_project_api.php.
| get_url_links | ( | $URLId | ) |
Function returns URLs for the specified project.
| $URLId | - URL's id. |
| Exception | An exception of this type is thrown. |
Definition at line 266 of file sape_project_api.php.
| get_urls | ( | $ProjectId | ) |
Function returns URLs for the specified project.
| $ProjectId | - Project's id. |
| Exception | An exception of this type is thrown. |
Definition at line 224 of file sape_project_api.php.
| placements_delete | ( | $LinkIds | ) |
Function delete links.
| $LinkIds | - Ids of the deleting links. |
| Exception | An exception of this type is thrown. |
Definition at line 170 of file sape_project_api.php.
| url_add | ( | $ProjectId, | |
| $URL, | |||
| $Name | |||
| ) |
Function adds URL.
| $ProjectId | - Project's id. |
| $URL | - URL. |
| $Name | - URL's name. |
| Exception | An exception of this type is thrown. |
Definition at line 315 of file sape_project_api.php.
| url_anchors_delete | ( | $URLId, | |
| $AnchorIds | |||
| ) |
Function deletes URL's anchors.
| $URLId | - URL's id. |
| $AnchorIds | - Anchor ids. |
| Exception | An exception of this type is thrown. |
Definition at line 491 of file sape_project_api.php.
| url_delete | ( | $URLId | ) |
Function deletes URL.
| $URLId | - URL's id. |
| Exception | An exception of this type is thrown. |
Definition at line 409 of file sape_project_api.php.
| url_set_autoseo | ( | $URLId, | |
$Auto = true, |
|||
$RequireConfirm = false |
|||
| ) |
Function sets moderation mode.
| $URLId | - URL's id. |
| $Auto | - Auto moderation. |
| $RequireConfirm | - Confirm links. |
| Exception | An exception of this type is thrown. |
Definition at line 544 of file sape_project_api.php.
| url_update | ( | $URLId, | |
| $Params | |||
| ) |
Function updates URL.
| $URLId | - URL. |
| $Params | - Update parameters. |
| Exception | An exception of this type is thrown. |
Definition at line 362 of file sape_project_api.php.
| $SapeCommonApi = false |
Cached packages.
Definition at line 38 of file sape_project_api.php.
| $SapeUtilities = false |
Definition at line 39 of file sape_project_api.php.
| $Security = false |
Definition at line 40 of file sape_project_api.php.