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: 1 year ago
Size: 2,332 bytes


Class file image Download
.. rst-class:: phpdoctorst

.. role:: php(code)
	:language: php


.. 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\.
		`vendor/atk4/core/src/TrackableTrait.php#10 <>`_
	:Used traits:


.. php:attr:: public static _trackableTrait

	.. rst-class:: phpdoc-description
		| Check this property to see if trait is present in the object\.
		`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\.
		`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\.
		`vendor/atk4/core/src/TrackableTrait.php#33 <>`_
	:Type: string 


.. 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\.
			`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\.
			`vendor/atk4/core/src/TrackableTrait.php#50 <>`_

For more information send a message to info at phpclasses dot org.