Download the PHP package thelia/view-module without Composer

On this page you can find all versions of the php package thelia/view-module. 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 view-module

View module

Using this module, you can select a specific view for any category, product, folder or content.

Installation

Activate the module and go to the "Modules" tab of any category, product, folder or content configuration page.

The loop view

Get the specific view of an object and the specific views of its sub-elements.

Parameters

Argument Description
id The ID of the specific view
view The Name of the specific view
source The type of the source associated. The possible values are category, product, folder or content
source_id The ID of the source associated

Output variables

Variables Description
$ID The Id of the specific view
$SOURCE_ID The ID of the source associated
$SOURCE The source associated (category, product, folder or content)
$VIEW The name of the specific view
$SUBTREE_VIEW The name of the specific view associated with the sub-element (sub-category or sub-folder) of the source
$CHILDREN_VIEW The name of the specific view associated with the children (products or contents) of the source

Example

The loop frontfiles

Return all the front office templates and their path.

Parameters

This loop have no parameters

Output variables

Variables Description
$NAME The template name
$FILE The file name
$RELATIVE_PATH The relative path of the template
$ABSOLUTE_PATH The absolute path of the template

Example

The loop frontview

Return view of an object if the object have a specific view.

Parameters

Argument Description
source The source of the object (category, product, folder or content)
source_id The ID of the object

Output variables

Variables Description
FRONT_VIEW The name of the view
VIEW_ID The id of the view in the view table

Example


All versions of view-module with dependencies

PHP Build Version
Package Version
Requires thelia/installer Version ~1.1
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 thelia/view-module contains the following files

Loading the files please wait ....