This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation
 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
<?php
defined('C5_EXECUTE') or die("Access Denied.");
class Concrete5_Model_AddSubpagePagePermissionAccessListItem extends PagePermissionAccessListItem {
    
    protected $customPageTypeArray = array();
    protected $pageTypesAllowedPermission = 'N';
    protected $allowExternalLinks = 0;

    public function setPageTypesAllowedPermission($permission) {
        $this->pageTypesAllowedPermission = $permission;
    }
    public function getPageTypesAllowedPermission() {
        return $this->pageTypesAllowedPermission;
    }
    public function setPageTypesAllowedArray($ctIDs) {
        $this->customPageTypeArray = $ctIDs;
    }
    public function getPageTypesAllowedArray() {
        return $this->customPageTypeArray;
    }
    
    public function setAllowExternalLinks($allow) {
        $this->allowExternalLinks = $allow;
    }
    
    public function allowExternalLinks() {
        return $this->allowExternalLinks;
    }
    
    
}