kernel/common/ezincludefunctions.php

Show: inherited
    Table of Contents

    Copyright
    Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
    License
    eZ Business Use License Agreement Version 2.0  
    Package
    kernel  
    Version
    4.6.0  

    Functions

    functiondatatype_class(  $datatype,  $className ) : void

    datatype include function for pre eZ Publish 4.0.

    Parameters
    Name Type Description
    $datatype
    $className
    Details
    Deprecated
    Since 4.3  
    functionext_activate(  $extension,  $name ) : void

    Activates the file named \a $name in extension \a $extension note This works similar to include_once() meaning that it's included one time.

    Parameters
    Name Type Description
    $extension
    $name
    Details
    Deprecated
    Since 4.3  
    functionext_class(  $extension,  $name ) : void

    Activates the file named \a $name in extension \a $extension note This works similar to include_once() meaning that it's included one time.

    Parameters
    Name Type Description
    $extension
    $name
    Details
    Deprecated
    Since 4.3  
    functionext_include(  $extension,  $name ) : void

    Includes the file named \a $name in extension \a $extension note This works similar to include() meaning that it always includes the file.

    Parameters
    Name Type Description
    $extension
    $name
    Details
    Deprecated
    Since 4.3  
    functionextension_path(  $extension,  $withWWWDir = false,  $withHost = false,  $withProtocol = false ) : void

    Loose extension path function for include use originally from ezextension.php

    Parameters
    Name Type Description
    $extension
    $withWWWDir
    $withHost
    $withProtocol
    Details
    Deprecated
    Since 4.3  
    functionisExtension( string $path ) : bool

    Parameters
    Name Type Description
    $path string

    Path to check.

    Returns
    Type Description
    bool True if this path is related to some extension. \note The root of an extension is considered to be in this path too.
    Details
    Deprecated
    Since 4.3, use {@link eZExtension::isExtension()} instead  
    functionkernel_class(  $name ) : void

    kernel class include function for pre eZ Publish 4.0.

    Parameters
    Name Type Description
    $name
    Details
    Deprecated
    Since 4.3  
    functionkernel_common(  $name ) : void

    kernel/common files include function for pre eZ Publish 4.0.

    Parameters
    Name Type Description
    $name
    Details
    Deprecated
    Since 4.3  
    functionkernel_include(  $name ) : void

    kernel files include function for pre eZ Publish 4.0.

    Parameters
    Name Type Description
    $name
    Details
    Deprecated
    Since 4.3  
    functionlib_class(  $libName,  $name ) : void

    lib class include function for pre eZ Publish 4.0.

    Parameters
    Name Type Description
    $libName
    $name
    Details
    Deprecated
    Since 4.3  
    functionlib_include(  $libName,  $name ) : void

    lib include function for pre eZ Publish 4.0.

    Parameters
    Name Type Description
    $libName
    $name
    Details
    Deprecated
    Since 4.3  
    functionnameFromPath( \$path $path ) : \Name

    eZExtension::nameFromPath( __FILE__ ) executed in any file of an extension can help you to find the path to additional resources

    Parameters
    Name Type Description
    $path \$path

    Path to check.

    Returns
    Type Description
    \Name of the extension a path belongs to.
    Details
    Deprecated
    Since 4.3, use {@link eZExtension::nameFromPath()} instead  
    Documentation was generated by DocBlox 0.18.1.