Download the PHP package tomk79/px2-px2dthelper without Composer

On this page you can find all versions of the php package tomk79/px2-px2dthelper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package px2-px2dthelper

pickles2/px2-px2dthelper

Pickles 2 のプラグインです。Pickles 2 babycorn(Desktop Tool) やその他のCMSと連携させるためのAPIを提供します。

インストール - Install

次の手順でインストールしてください。

Composer パッケージを読み込む。

Pickles2 のコンフィグに追記する。

API

モジュールの CSS をビルドする

モジュールの JavaScript をビルドする

HTMLにCSSとJavaScriptをロードする

Authorizer $px->authorizer の初期化

PXコマンド

PX=px2dthelper.version

px2-px2dthelper のバージョン番号を取得します。

PX=px2dthelper.check_status

px2-px2dthelper の状態情報を取得します。

PX=px2dthelper.find_page_content

ページのコンテンツファイルを探します。

PX=px2dthelper.get.realpath_data_dir

$conf->plugins->px2dt->guieditor->path_data_dir の解決された内部絶対パスを取得します。

PX=px2dthelper.get.path_resource_dir

$conf->plugins->px2dt->guieditor->path_resource_dir の解決されたパスを取得します。

PX=px2dthelper.get.custom_fields

$conf->plugins->px2dt->guieditor->custom_fields の値を取得します。

PX=px2dthelper.get.navigation_info

ナビゲーションシステムを生成するために必要な情報をまとめて取得します。

filter オプションは、 $site->get_bros()$site->get_children() に渡されます。

PX=px2dthelper.get.realpath_theme_collection_dir

テーマコレクションディレクトリのパスを取得します。。

PX=px2dthelper.get.all

Pickles 2 から複数の情報を一度に取得します。

filter オプションは、 $site->get_bros()$site->get_children() に渡されます。

PX=px2dthelper.check_editor_mode

コンテンツの編集モードを取得します。

PX=px2dthelper.search_sitemap

サイトマップ中のページを検索します。

limit オプションは、検索結果の最大件数を指定します。デフォルトは 200件です。

PX=px2dthelper.sitemap.create

新規サイトマップファイルを作成します。 パラメータ filename に、作成するサイトマップのファイル名(拡張子は含まない)を指定します。

PX=px2dthelper.sitemap.delete

サイトマップファイルを削除します。 パラメータ filename に、削除するサイトマップのファイル名(拡張子は含まない)を指定します。

PX=px2dthelper.document_modules.build_css

CSSのソースコードが返されます。

加えて、パラメータ theme_id を付与すると、テーマが定義するCSSのコードを返します。

PX=px2dthelper.document_modules.build_js

JavaScriptのソースコードが返されます。

加えて、パラメータ theme_id を付与すると、テーマが定義するJavaScriptのコードを返します。

PX=px2dthelper.document_modules.load

CSSとJavaScriptをロードするHTMLソースコードが返されます。

PX=px2dthelper.convert_table_excel2html

CSV や Excel形式 で作られた表を元に、HTMLのテーブル要素を生成して出力します。 パラメータ path には、 *.csv, *.xls, *.xlsx を指定できます。

PX=px2dthelper.init_content

コンテンツを初期化します。

v2.0.12 以降、このAPIは、すでにコンテンツが存在する場合には、上書きせずにエラーを返すようになりました。 force オプションが付加された場合は、 強制的に上書きします。

v2.0.11 とそれ以前のバージョンでは、既存のコンテンツを上書きして初期化するのがデフォルトの挙動でした。

PX=px2dthelper.config.parse

設定ファイル(config.php)を解析し、解析できた値の一覧を返します。

PX=px2dthelper.config.update

設定ファイル(config.php)を解析し、解析できた値のうち任意の値を変更して上書きします。

変更したい値は、 json (JSON形式の文字列) または base64_json (JSON形式の文字列を Base64に変換した文字列) のいずれかにセットして渡します。

PX=px2dthelper.copy_content

コンテンツを複製します。

または、

v2.0.12 以降、このAPIは、すでにコンテンツが存在する場合には、上書きせずにエラーを返すようになりました。 force オプションが付加された場合は、 強制的に上書きします。

v2.0.11 とそれ以前のバージョンでは、既存のコンテンツを上書きして初期化するのがデフォルトの挙動でした。

PX=px2dthelper.change_content_editor_mode

コンテンツの編集モードを変更します。

PX=px2dthelper.plugins.get_plugin_options

プラグインオプションを取得します。

PX=px2dthelper.publish_single_page

指定されたページを単体でパブリッシュします。 ページ固有のリソースディレクトリが同時にパブリッシュされます。

PX=px2dthelper.packages.get_path_composer_root_dir

composer.json が置かれているディレクトリのパスを取得する。

PX=px2dthelper.packages.get_path_npm_root_dir

package.json が置かれているディレクトリのパスを取得する。

PX=px2dthelper.packages.get_package_list

パッケージの一覧を取得する。

PX=px2dthelper.px2ce.gpi

PX=px2dthelper.px2me.gpi

PX=px2dthelper.px2te.gpi

それぞれ、Pickles 2 Contents Editor、Pickles 2 Module Editor、Pickles 2 Theme Editor のGPIを呼び出します。

次のオプションを指定できます。

PX=px2dthelper.px2ce.client_resources

PX=px2dthelper.px2me.client_resources

PX=px2dthelper.px2te.client_resources

それぞれ、 Pickles 2 Contents Editor、Pickles 2 Module Editor、Pickles 2 Theme Editor の、クライアントサイドで読み込むべきリソースの一覧を返します。

デフォルトでは、サーバー内部の絶対パスを返します。 dist パラメータにサーバー内部のディレクトリパスを渡すと、指定のディレクトリ内にコピーを作成し、そこからの相対パスを返すようになります。

PX=px2dthelper.custom_console_extensions

PX=px2dthelper.custom_console_extensions.XXXX.client_resources

PX=px2dthelper.custom_console_extensions.XXXX.gpi

PX=px2dthelper.custom_console_extensions_async_run

$conf->plugins->px2dt->customConsoleExtensions に登録された拡張機能へアクセスするAPIを提供します。 第3引数の XXXX には、 Custom Console Extensions に登録したID(添字)を指定します。省略時には、登録されている拡張機能の一覧を返します。

PX=px2dthelper.get.path_theme_collection_dir

PX=px2dthelper.get.list_unassigned_contents

PX=px2dthelper.page.add_page_info_raw

PX=px2dthelper.page.get_page_info_raw

PX=px2dthelper.page.update_page_info_raw

PX=px2dthelper.page.move_page_info_raw

PX=px2dthelper.page.delete_page_info_raw

PX=px2dthelper.content.delete

PX=px2dthelper.contents_template.get_list

PX=px2dthelper.sitemap.filelist

PX=px2dthelper.sitemap.download

PX=px2dthelper.sitemap.upload

PX=px2dthelper.sitemap.csv2xlsx

PX=px2dthelper.sitemap.xlsx2csv

PX=px2dthelper.authorizer.is_authorized.XXXX

コマンドラインオプション

--role

ロール名。

更新履歴 - Change log

pickles2/px2-px2dthelper v2.2.2 (2024年2月18日)

pickles2/px2-px2dthelper v2.2.1 (2023年11月13日)

pickles2/px2-px2dthelper v2.2.0 (2023年9月24日)

pickles2/px2-px2dthelper v2.1.11 (2023年8月29日)

pickles2/px2-px2dthelper v2.1.10 (2023年5月1日)

pickles2/px2-px2dthelper v2.1.9 (2023年4月22日)

pickles2/px2-px2dthelper v2.1.8 (2023年3月11日)

pickles2/px2-px2dthelper v2.1.7 (2023年2月11日)

pickles2/px2-px2dthelper v2.1.6 (2022年12月29日)

pickles2/px2-px2dthelper v2.1.5 (2022年11月3日)

pickles2/px2-px2dthelper v2.1.4 (2022年7月20日)

pickles2/px2-px2dthelper v2.1.3 (2022年6月5日)

pickles2/px2-px2dthelper v2.1.2 (2022年5月6日)

pickles2/px2-px2dthelper v2.1.1 (2022年5月2日)

pickles2/px2-px2dthelper v2.1.0 (2022年1月8日)

pickles2/px2-px2dthelper v2.0.22 (2022年1月4日)

pickles2/px2-px2dthelper v2.0.21 (2021年8月21日)

pickles2/px2-px2dthelper v2.0.20 (2021年7月10日)

pickles2/px2-px2dthelper v2.0.19 (2021年4月24日)

pickles2/px2-px2dthelper v2.0.18 (2021年2月21日)

pickles2/px2-px2dthelper v2.0.17 (2021年2月21日)

pickles2/px2-px2dthelper v2.0.16 (2020年10月17日)

pickles2/px2-px2dthelper v2.0.15 (2020年6月21日)

pickles2/px2-px2dthelper v2.0.14 (2020年1月2日)

pickles2/px2-px2dthelper v2.0.13 (2019年9月4日)

pickles2/px2-px2dthelper v2.0.12 (2019年6月8日)

pickles2/px2-px2dthelper v2.0.11 (2018年11月8日)

pickles2/px2-px2dthelper v2.0.10 (2018年10月26日)

pickles2/px2-px2dthelper v2.0.9 (2018年9月25日)

pickles2/px2-px2dthelper v2.0.8 (2018年8月16日)

pickles2/px2-px2dthelper v2.0.7 (2018年2月28日)

pickles2/px2-px2dthelper v2.0.6 (2017年9月14日)

pickles2/px2-px2dthelper v2.0.5 (2017年5月30日)

pickles2/px2-px2dthelper v2.0.4 (2017年4月20日)

pickles2/px2-px2dthelper v2.0.3 (2017年2月6日)

pickles2/px2-px2dthelper v2.0.2 (2017年1月18日)

pickles2/px2-px2dthelper v2.0.1 (2016年10月17日)

pickles2/px2-px2dthelper v2.0.0 (2016年9月15日)

for Developer

テスト - Test

ドキュメント出力 - phpDocumentor

ライセンス - License

Copyright (c)2001-2022 Tomoya Koyanagi, and Pickles 2 Project
MIT License https://opensource.org/licenses/mit-license.php

作者 - Author


All versions of px2-px2dthelper with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3.0
tomk79/php-excel2html Version ^0.0.8||~0.1
michelf/php-markdown Version ~1.6
pickles2/lib-px2-contents-editor Version ~2.0
pickles2/lib-px2-module-editor Version ~0.2
pickles2/lib-px2-theme-editor Version ~0.0
broccoli-html-editor/broccoli-html-editor Version ~0.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tomk79/px2-px2dthelper contains the following files

Loading the files please wait ....