ManaPHP framework
ManaPHP framework
> Oh, it actually a step towards the #127 > > So the task is to add `get_class_methods()` support similarly to `get_class_vars()`, sounds reasonable, sorry for ignoring this for two...
> > Oh, it actually a step towards the #127 > > So the task is to add `get_class_methods()` support similarly to `get_class_vars()`, sounds reasonable, sorry for ignoring this for...
> Sorry for late reply. Do you want methods of `TestController` to be suggested at `CARET` place? > > ``` > class TestController > { > public function indexAction(){ >...
```php function model_var($model) { return get_object_vars($model); } ``` if is ```php function model_var($model) { $vars = get_object_vars($model); unset($vars['_last_fresh']); return $vars; } ``` the candidate list contains `_last_fresh` key, because it...
> You sure we are talking about same problem here? =-D no, but is related to user-defined function supported
> Though it may be easier for me to just add some `Magic::fqnToTable(static::class, 'snake_case')` than mess with `basename()` and `strtolower()` can we support php expression?
https://github.com/manaphp/manaphp/blob/master/apps/user/app/Controllers/IndexController.php
City::where(['_last_refresh'])
ok is ok ,but can AI ? :)
> > AI > > Sorry my ignorance, what does "AI" stand for? It's not Artificial Intelligence, is it? > And did I get it right, by "ok is ok"...