mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 17:54:44 +02:00
Add PR #106 - Add “since” versions for $files API var find() and includeOnce() methods
Co-authored-by: happy-kaseem <kaseem@meisterkonze.ch> Co-authored-by: matjazpotocnik <matjaz.potocnik@um.si>
This commit is contained in:
@@ -594,6 +594,7 @@ class WireFileTools extends Wire {
|
|||||||
* - `excludeHidden` (bool): Exclude hidden files? (default=false).
|
* - `excludeHidden` (bool): Exclude hidden files? (default=false).
|
||||||
* - `returnRelative` (bool): Make returned array have filenames relative to given start $path? (default=false)
|
* - `returnRelative` (bool): Make returned array have filenames relative to given start $path? (default=false)
|
||||||
* @return array Flat array of filenames
|
* @return array Flat array of filenames
|
||||||
|
* @since 3.0.96
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function find($path, array $options = array()) {
|
public function find($path, array $options = array()) {
|
||||||
@@ -1173,6 +1174,7 @@ class WireFileTools extends Wire {
|
|||||||
* @param array $options
|
* @param array $options
|
||||||
* @return bool
|
* @return bool
|
||||||
* @see WireFileTools::include()
|
* @see WireFileTools::include()
|
||||||
|
* @since 3.0.96
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function includeOnce($filename, array $vars = array(), array $options = array()) {
|
function includeOnce($filename, array $vars = array(), array $options = array()) {
|
||||||
|
Reference in New Issue
Block a user