Answer the question
In order to leave comments, you need to log in
How to extend Tag model in Phalcon framework?
Hello.
Recently, I started to understand the Phalcon framework. Everything would be wonderful, but there is one thing.
The falcon has this expression. Phalcon\Tag::getTitle();
It gets the value of the title, which we set like this:
And now the crux of the problem.
Tag doesn't have the methods I need.
How do I expand Phalcon\Tag to fitPhalcon\Tag::setTitle('СуперСайт');
Phalcon\Tag::setDescription('СуперОписание');
Phalcon\Tag::getDescription();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question