User Tools

Site Tools


programmieren:cakephp:traits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
programmieren:cakephp:traits [2026/09/18 16:28] – traits adminprogrammieren:cakephp:traits [2026/09/18 16:32] (current) – multiple admin
Line 8: Line 8:
 use SomeRandomTrait; use SomeRandomTrait;
 </code> </code>
 +
 +You can do it for multiple traits.
  
 This basically makes the traits code part of the class, so if the trait has a function called ''explodeMalta()'' you can call it in the class like This basically makes the traits code part of the class, so if the trait has a function called ''explodeMalta()'' you can call it in the class like
programmieren/cakephp/traits.1789741731.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki