PHP 클래스 BxDolSiteMaps, dolphin.pro
To add sitemap to your module you need to add a record to 'sys_objects_site_maps' table and custom class:
id - autoincremented id for internal usage
object - your unique module name, with vendor prefix, lowercase and spaces are underscored
priority - priority, allowed values from 0.0 to 1.0
changefreq - how frequently contents change, allowed values: always, hourly, daily, weekly, monthly, yearly, never
class_name - your custom class name
class_file - file where your class_name is stored
order - order in which this sitemap is generated
active - is object active, allowed values 0 or 1
You can refer to BoonEx modules for sample record in this table.
파일 보기
프로젝트 열기: boonex/dolphin.pro
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 상세
_genXmlUrlsBegin()
보호된 메소드
_getDateTimeStamp()
보호된 메소드
deleteAllSiteMaps()
공개 정적인 메소드
generate files for current
generateAllSiteMaps()
공개 정적인 메소드
it is called on cron every day or similar period to generate sitemaps from all modules
getObjectInstance()
공개 정적인 메소드
Get sitemap object instance by object name
getSiteMapIndexPath()
공개 정적인 메소드
get sitemaps index file path
getSiteMapIndexUrl()
공개 정적인 메소드
get sitemaps index file url
프로퍼티 상세
$BASE_PATH 보호되어 있는 정적으로 프로퍼티
protected static $BASE_PATH |
$BASE_PATH_INDEX 보호되어 있는 정적으로 프로퍼티
url to generated sitemaps
protected static $BASE_PATH_INDEX |
$BASE_URL 보호되어 있는 정적으로 프로퍼티
path to generated sitemaps
protected static $BASE_URL |
$BASE_URL_INDEX 보호되어 있는 정적으로 프로퍼티
path to generated index sitemap
protected static $BASE_URL_INDEX |
$_aQueryParts 보호되어 있는 프로퍼티
url to generated index sitemap
current sitemap system array