Class AdminHtmlExport

Description

Класс администрирования модуля "HTML Экспорт"

Located in /itweb/modules/HtmlExport/admin/class.Admin.HtmlExport.php (line 17)

MyModule
   |
   --HtmlExport
      |
      --AdminHtmlExport
Variable Summary
Method Summary
 AdminHtmlExport AdminHtmlExport ()
 bool Build_FrontOfficeArchive (string $export_filepath, array $external_Structure_iIDs, [bool $echo_exportState = false])
 string checkCSSesInHTML (array $matches)
 string checkFormsInHTML (array $matches)
 string checkLinksInHTML (array $matches)
 string checkSourcesInCSS (array $matches)
 string checkSourcesInHTML (array $matches)
 void FrontOfficeArchiveBuilding_StateEcho ([string $new_action = ''], [string $text = ''])
 string GetFileDir (boolean $bRelative, [string $fileDir = ''])
 bool HtmlExport_Finish ([string $error_text = ''])
 void Install ()
 boolean ModifyItemEx (array $properties, [int $pos = null])
 void OnLoad ()
 void Uninstall ()
Variables
mixed $currentPageLink (line 23)
mixed $echo_exportState (line 27)
mixed $error_text (line 28)
mixed $externalLinks (line 25)
mixed $externalPath (line 26)
mixed $links2grab_FIFO (line 20)
mixed $linksGrabbed (line 21)
mixed $pagesLink2ID (line 19)
mixed $remoteLinkText = "Для получения доступа к запрашиваемой странице требуется подключение к Интернет." (line 35)
mixed $rootPath (line 24)
mixed $sourcesGrabbed (line 22)
string $tmpDir = '/_tmp' (line 42)

Подиректория для хранения временных файлов модуля

mixed $__GET (line 31)
mixed $__POST (line 32)
mixed $__REQUEST (line 30)
mixed $__SERVER (line 33)

Inherited Variables

Inherited from HtmlExport

HtmlExport::$desc
HtmlExport::$hidden
HtmlExport::$icon
HtmlExport::$name

Inherited from MyModule

MyModule::$connectionID
MyModule::$oITWEB
MyModule::$oMyCatalog
MyModule::$prps
MyModule::$view_php_funcPrefix
Methods
Constructor AdminHtmlExport (line 53)

Конструктор. Выполняет инициализацию модуля.

AdminHtmlExport AdminHtmlExport ()
Build_FrontOfficeArchive (line 158)

Создать ZIP-архив сайта

  • return: результат выполнения операции
bool Build_FrontOfficeArchive (string $export_filepath, array $external_Structure_iIDs, [bool $echo_exportState = false])
  • string $export_filepath: путь к файлу-архиву
  • array $external_Structure_iIDs: массив ID исключаемых страниц
  • bool $echo_exportState: выводить данные процесса экспорта
checkCSSesInHTML (line 411)

Задействуется при preg_replace_callback

  • return: строка замены
string checkCSSesInHTML (array $matches)
  • array $matches: массив совпадений с шаблоном
checkFormsInHTML (line 495)

Задействуется при preg_replace_callback

  • return: строка замены
string checkFormsInHTML (array $matches)
  • array $matches: массив совпадений с шаблоном
checkLinksInHTML (line 328)

Задействуется при preg_replace_callback

  • return: строка замены
string checkLinksInHTML (array $matches)
  • array $matches: массив совпадений с шаблоном
checkSourcesInCSS (line 445)

Задействуется при preg_replace_callback

  • return: строка замены
string checkSourcesInCSS (array $matches)
  • array $matches: массив совпадений с шаблоном
checkSourcesInHTML (line 386)

Задействуется при preg_replace_callback

  • return: строка замены
string checkSourcesInHTML (array $matches)
  • array $matches: массив совпадений с шаблоном
FrontOfficeArchiveBuilding_StateEcho (line 513)

Вывод статусной информации процесса экспорта

void FrontOfficeArchiveBuilding_StateEcho ([string $new_action = ''], [string $text = ''])
  • string $new_action: наименование текущего действия (prepare | grab | zip | clear | end | error)
  • string $text: дополнительный текст вывода
GetFileDir (line 109)

Получить путь к папке файлов модуля

  • return: путь к папке файлов модуля
string GetFileDir (boolean $bRelative, [string $fileDir = ''])
  • boolean $bRelative: TRUE - относительный, FALSE - абсолютный
  • string $fileDir: устанавливае путь к папке файлов модуля

Redefinition of:
MyModule::GetFileDir()
Получить путь к папке файлов модуля
HtmlExport_Finish (line 469)

Вызывается в случае завершения (успешного или нет) процесса экспорта

  • return: результат выполнения функции экспорта
bool HtmlExport_Finish ([string $error_text = ''])
  • string $error_text: текст ошибки в случае её возникновния
Install (line 65)

Функция вызываемая в процессе установки.

void Install ()
ModifyItemEx (line 127)

Изменить элемент

  • return: результат
boolean ModifyItemEx (array $properties, [int $pos = null])
  • array $properties: массив свойств элемента
  • int $pos: позиция элемента
OnLoad (line 96)

Функция вызываемая при загрузке модуля

void OnLoad ()
Uninstall (line 87)

Функция вызываемая в процессе удаления модуля из системы.

void Uninstall ()

Inherited Methods

Inherited From HtmlExport

 HtmlExport::HtmlExport()

Inherited From MyModule

 MyModule::MyModule()
 MyModule::AddCategoriesPropertiesTables()
 MyModule::AddCategory()
 MyModule::AddDataType()
 MyModule::AddItem()
 MyModule::AddItemsPropertiesTables()
 MyModule::AddPropertiesTables()
 MyModule::AddPropertyType()
 MyModule::BuildPropertyTypesMap()
 MyModule::CheckDelResourceProperty()
 MyModule::CheckElementResources()
 MyModule::CheckModifyResourceProperty()
 MyModule::ClearCategoriesPropertiesCache()
 MyModule::CopyCategory()
 MyModule::CopyFileProperties()
 MyModule::CopyItem()
 MyModule::CountItems()
 MyModule::CurrentCategory()
 MyModule::CurrentItem()
 MyModule::CurrentModule()
 MyModule::DelCategoriesPropertiesTables()
 MyModule::DelCategory()
 MyModule::DelDataType()
 MyModule::DelElementResources()
 MyModule::DelItem()
 MyModule::DelItemsPropertiesTables()
 MyModule::DelPropertiesTables()
 MyModule::DelPropertyType()
 MyModule::GetCachedCategories()
 MyModule::GetCacheDir()
 MyModule::GetCachedItems()
 MyModule::GetCategories()
 MyModule::GetCategoriesFilter()
 MyModule::GetCategory()
 MyModule::GetCategoryID()
 MyModule::GetCategoryLight()
 MyModule::GetCategoryProperties()
 MyModule::GetCategoryPropertiesLight()
 MyModule::GetCategoryProperty()
 MyModule::GetCategoryPropertyTypes()
 MyModule::GetCategoryPropertyTypesLight()
 MyModule::GetCurrentLevel()
 MyModule::GetCurrentModule()
 MyModule::GetDataType()
 MyModule::GetDataTypes()
 MyModule::GetFileDir()
 MyModule::GetFilter()
 MyModule::GetFirstChild()
 MyModule::GetImgDir()
 MyModule::GetItem()
 MyModule::GetItemLight()
 MyModule::GetItemPosition()
 MyModule::GetItemProperties()
 MyModule::GetItemPropertiesLight()
 MyModule::GetItemProperty()
 MyModule::GetItemPropertyEx()
 MyModule::GetItemPropertyTypes()
 MyModule::GetItemPropertyTypesLight()
 MyModule::GetItems()
 MyModule::GetItemsFilter()
 MyModule::GetItemsLimit()
 MyModule::GetItemsOffset()
 MyModule::GetItemsRange()
 MyModule::GetItemsSorting()
 MyModule::GetMaxCategory()
 MyModule::GetMaxCategoryID()
 MyModule::GetMaxItem()
 MyModule::GetMaxLevel()
 MyModule::GetMinItem()
 MyModule::GetModuleProperties()
 MyModule::GetParentCategory()
 MyModule::GetProperties()
 MyModule::GetPropertyByName()
 MyModule::GetPropertyMultipleValue()
 MyModule::GetPropertyType()
 MyModule::GetPropertyTypeGroups()
 MyModule::GetPropertyTypes()
 MyModule::GetRootCategory()
 MyModule::Init()
 MyModule::isCategoryContainsCategory()
 MyModule::isCategoryExist()
 MyModule::isCategoryLeaf()
 MyModule::isCategoryPropertyTypeExist()
 MyModule::isCategorySearch()
 MyModule::isCategorySystem()
 MyModule::isDataTypeExist()
 MyModule::isItemExist()
 MyModule::isItemPropertyTypeExist()
 MyModule::isPropertyTypeExist()
 MyModule::LoadModule()
 MyModule::LoadStatus()
 MyModule::ModifyCategory()
 MyModule::ModifyItem()
 MyModule::ModifyPropertyType()
 MyModule::MoveCategory()
 MyModule::MoveItem()
 MyModule::PopUp()
 MyModule::ResetCachedItems()
 MyModule::ResetCategoriesFilter()
 MyModule::ResetFilter()
 MyModule::ResetItemsFilter()
 MyModule::ResetItemsSorting()
 MyModule::RootCategory()
 MyModule::SaveStatus()
 MyModule::SetCachedCategories()
 MyModule::SetCachedItems()
 MyModule::SetCategoriesFilter()
 MyModule::SetFilter()
 MyModule::SetItemsFilter()
 MyModule::SetItemsLimit()
 MyModule::SetItemsOffset()
 MyModule::SetItemsRandomSorting()
 MyModule::SetItemsRange()
 MyModule::SetItemsSearchFilter()
 MyModule::SetItemsSorting()
 MyModule::SetPropertyMultipleValue()
 MyModule::ShiftCategory()
 MyModule::ShiftItem()
 MyModule::ShiftPropertyType()
 MyModule::ShowHiddenCategories()
 MyModule::ShowSystemProperties()

Documentation generated on Wed, 21 Mar 2007 17:33:35 +0300 by phpDocumentor 1.3.0RC3