IBOS open source
  • Namespace
  • Class

Namespaces

  • application
    • core
      • cache
        • driver
        • provider
      • components
      • controllers
      • engines
        • local
        • sae
      • model
      • modules
      • utils
      • widgets
    • modules
      • article
        • controllers
        • core
        • model
        • utils
      • calendar
        • controllers
        • model
        • utils
      • contact
        • controllers
        • model
        • utils
      • dashboard
        • controllers
        • model
        • utils
      • department
        • components
        • model
        • utils
      • diary
        • components
        • controllers
        • model
        • utils
        • widgets
      • email
        • controllers
        • core
        • model
        • utils
      • main
        • behaviors
        • components
        • controllers
        • model
        • utils
        • widgets
      • message
        • controllers
        • core
          • co
          • wx
            • callback
            • event
        • model
        • utils
      • mobile
        • components
        • controllers
        • utils
      • position
        • components
        • model
        • utils
      • recruit
        • components
        • controllers
        • core
        • model
        • utils
        • widgets
      • role
        • model
        • utils
      • user
        • components
        • controllers
        • model
        • utils
      • vote
        • components
        • controllers
        • model
        • utils
      • weibo
        • controllers
        • core
        • model
        • utils

Classes

  • Main
  • SinglePage
  • VoiceConferenceApi

Class SinglePage

Namespace: application\modules\main\utils
Copyright: Copyright © 2012-2013 IBOS Inc
Author: gzhzh gzhzh@ibos.com.cn
Located at system/modules/main/utils/SinglePage.php

Methods summary

public static object
# parse( string $html, string $replace )

切换内容模板的内容,模板内一定要有id=page_content的div,否则抛出错误

切换内容模板的内容,模板内一定要有id=page_content的div,否则抛出错误

Parameters

$html
模板的html
$replace
要替换page_content的html

Returns

object
public static object
# getTplEditorContent( string $file )

根据模板文件路径获取模板中id=page_content的div的内容

根据模板文件路径获取模板中id=page_content的div的内容

Parameters

$file
模板文件路径

Returns

object
public static
# getAllTpls( )

获取模板

获取模板

public static array
# handleFileName( array $files )

处理模板名称输出,返回结果格式:array('index'=>'首页模板', 'print'=>'打印模板', 'subfield'=>'左右分栏模板', 'custom'=>'Page_custom')

处理模板名称输出,返回结果格式:array('index'=>'首页模板', 'print'=>'打印模板', 'subfield'=>'左右分栏模板', 'custom'=>'Page_custom')

Parameters

$files
处理的文件数组

Returns

array
IBOS open source API documentation generated by ApiGen