PHP Classes

File: docs/_sources/api/atk4/core/TrackableTrait.rst.txt

Recommend this page to a friend!
  Classes of Francesco Danti   ATK4 i18next PHP   docs/_sources/api/atk4/core/TrackableTrait.rst.txt   Download  
File: docs/_sources/api/atk4/core/TrackableTrait.rst.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 4 years ago
Size: 2,332 bytes


Class file image Download
.. rst-class:: phpdoctorst .. role:: php(code) :language: php TrackableTrait ============== .. php:namespace:: atk4\core .. php:trait:: TrackableTrait .. rst-class:: phpdoc-description | If class implements that interface and is added into "Container", | then container will keep track of it\. This method can also | specify desired name of the object\. :Source: `vendor/atk4/core/src/TrackableTrait.php#10 <>`_ :Used traits: :php:trait:`atk4\\core\\NameTrait` Properties ---------- .. php:attr:: public static _trackableTrait .. rst-class:: phpdoc-description | Check this property to see if trait is present in the object\. :Source: `vendor/atk4/core/src/TrackableTrait.php#19 <>`_ :Type: bool .. php:attr:: public static owner .. rst-class:: phpdoc-description | Link to \(parent\) object into which we added this object\. :Source: `vendor/atk4/core/src/TrackableTrait.php#26 <>`_ :Type: object .. php:attr:: public static short_name .. rst-class:: phpdoc-description | Name of the object in owner\'s element array\. :Source: `vendor/atk4/core/src/TrackableTrait.php#33 <>`_ :Type: string Methods ------- .. rst-class:: public .. php:method:: public getDesiredName() .. rst-class:: phpdoc-description | If name of the object is omitted then it\'s naturally to name them | after the class\. You can specify a different naming pattern though\. :Source: `vendor/atk4/core/src/TrackableTrait.php#41 <>`_ :Returns: string .. rst-class:: public .. php:method:: public destroy() .. rst-class:: phpdoc-description | Removes object from parent, so that PHP\'s Garbage Collector can | dispose of it\. :Source: `vendor/atk4/core/src/TrackableTrait.php#50 <>`_