PHP Classes

File: docs/source/api/atk4/core/InitializerTrait.rst

Recommend this page to a friend!
  Classes of Francesco Danti   ATK4 i18next PHP   docs/source/api/atk4/core/InitializerTrait.rst   Download  
File: docs/source/api/atk4/core/InitializerTrait.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 5 years ago
Size: 1,497 bytes
 

Contents

Class file image Download
.. rst-class:: phpdoctorst .. role:: php(code) :language: php InitializerTrait ================ .. php:namespace:: atk4\core .. php:trait:: InitializerTrait .. rst-class:: phpdoc-description | Object with this trait will have it\'s init\(\) method executed | automatically when initialized through add\(\)\. :Source: `vendor/atk4/core/src/InitializerTrait.php#9 <https://github.com/atk4/core/blob/master/vendor/atk4/core/src/InitializerTrait.php#L9>`_ Properties ---------- .. php:attr:: public static _initializerTrait .. rst-class:: phpdoc-description | Check this property to see if trait is present in the object\. :Source: `vendor/atk4/core/src/InitializerTrait.php#16 <https://github.com/atk4/core/blob/master/vendor/atk4/core/src/InitializerTrait.php#L16>`_ :Type: bool .. php:attr:: public static _initialized .. rst-class:: phpdoc-description | To make sure you have called parent::init\(\) properly\. :Source: `vendor/atk4/core/src/InitializerTrait.php#23 <https://github.com/atk4/core/blob/master/vendor/atk4/core/src/InitializerTrait.php#L23>`_ :Type: bool Methods ------- .. rst-class:: public .. php:method:: public init() .. rst-class:: phpdoc-description | Initialize object\. Always call parent::init\(\)\. Do not call directly\. :Source: `vendor/atk4/core/src/InitializerTrait.php#28 <https://github.com/atk4/core/blob/master/vendor/atk4/core/src/InitializerTrait.php#L28>`_